org.hibernate.search.metadata

## Interface NumericFieldSettingsDescriptor

- All Superinterfaces:
    FieldSettingsDescriptor
  All Known Implementing Classes:
    NumericFieldDescriptorImpl

      public interface NumericFieldSettingsDescriptor
      extends FieldSettingsDescriptor

  Metadata related to a numeric field
  Author:
    Hardy Ferentschik

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `NumericFieldSettingsDescriptor.NumericEncodingType` Defines different logical field types

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

      `FieldSettingsDescriptor.Type`

  - ### Method Summary

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

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

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

- - ### Method Detail

    - #### precisionStep

          int precisionStep()

      Returns:
        the numeric precision step for this numeric field.

    - #### encodingType

          NumericFieldSettingsDescriptor.NumericEncodingType encodingType()

      Returns:
        the type of numeric field

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