org.hibernate.search.metadata.impl

## Class NumericFieldDescriptorImpl

- java.lang.Object
- - org.hibernate.search.metadata.impl.FieldDescriptorImpl
  - - org.hibernate.search.metadata.impl.NumericFieldDescriptorImpl

- All Implemented Interfaces:
    FieldDescriptor, FieldSettingsDescriptor, NumericFieldSettingsDescriptor

      public class NumericFieldDescriptorImpl
      extends FieldDescriptorImpl
      implements NumericFieldSettingsDescriptor

  Author:
    Hardy Ferentschik

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.hibernate.search.metadata.NumericFieldSettingsDescriptor

      `NumericFieldSettingsDescriptor.NumericEncodingType`

    - ### Nested classes/interfaces inherited from interface org.hibernate.search.metadata.FieldSettingsDescriptor

      `FieldSettingsDescriptor.Type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NumericFieldDescriptorImpl(DocumentFieldMetadata documentFieldMetadata)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `NumericFieldSettingsDescriptor.NumericEncodingType` | `encodingType()`
    `int` | `precisionStep()`
    `String` | `toString()`

    - ### Methods inherited from class org.hibernate.search.metadata.impl.FieldDescriptorImpl

      `as, getAnalyze, getAnalyzer, getBoost, getFieldBridge, getIndex, getName, getNorms, getStore, getTermVector, getType, indexNull, indexNullAs`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.hibernate.search.metadata.FieldSettingsDescriptor

      `as, getAnalyze, getBoost, getIndex, getName, getNorms, getStore, getTermVector, getType`

- - ### Constructor Detail

    - #### NumericFieldDescriptorImpl

          public NumericFieldDescriptorImpl(DocumentFieldMetadata documentFieldMetadata)

  - ### Method Detail

    - #### precisionStep

          public int precisionStep()

      Specified by:
        `precisionStep` in interface `NumericFieldSettingsDescriptor`
      Returns:
        the numeric precision step for this numeric field.

    - #### encodingType

          public NumericFieldSettingsDescriptor.NumericEncodingType encodingType()

      Specified by:
        `encodingType` in interface `NumericFieldSettingsDescriptor`
      Returns:
        the type of numeric field

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `FieldDescriptorImpl`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved