Interface LeafNumericFieldData

All Superinterfaces:
org.apache.lucene.util.Accountable, AutoCloseable, Closeable, LeafFieldData, Releasable
All Known Implementing Classes:
BooleanScriptFieldData.BooleanScriptLeafFieldData, DateScriptFieldData.DateScriptLeafFieldData, DoubleScriptFieldData.DoubleScriptLeafFieldData, LeafDoubleFieldData, LeafLongFieldData, LongScriptFieldData.LongScriptLeafFieldData, SortedNumericIndexFieldData.NanoSecondFieldData

public interface LeafNumericFieldData extends LeafFieldData
Specialization of LeafFieldData for numeric data.
  • Method Details

    • getLongValues

      SortedNumericLongValues getLongValues()
      Get an integer view of the values of this segment. If the implementation stores floating-point numbers then these values will return the same values but casted to longs.
    • getDoubleValues

      SortedNumericDoubleValues getDoubleValues()
      Return a floating-point view of the values in this segment. If the implementation stored integers then the returned doubles would be the same ones as you would get from casting to a double.