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