Interface AtomicNumericFieldData
-
- All Superinterfaces:
Accountable,AtomicFieldData,AutoCloseable,Closeable,Releasable
- All Known Implementing Classes:
SortedNumericDVIndexFieldData.NanoSecondFieldData
public interface AtomicNumericFieldData extends AtomicFieldData
Specialization ofAtomicFieldDatafor numeric data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortedNumericDoubleValuesgetDoubleValues()Return a floating-point view of the values in this segment.SortedNumericDocValuesgetLongValues()Get an integer view of the values of this segment.-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
Methods inherited from interface org.elasticsearch.index.fielddata.AtomicFieldData
getBytesValues, getScriptValues
-
Methods inherited from interface org.elasticsearch.common.lease.Releasable
close
-
-
-
-
Method Detail
-
getLongValues
SortedNumericDocValues 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.
-
-