Interface AtomicNumericFieldData
-
- All Superinterfaces:
org.apache.lucene.util.Accountable
,AtomicFieldData
,java.lang.AutoCloseable
,java.io.Closeable
,Releasable
public interface AtomicNumericFieldData extends AtomicFieldData
Specialization ofAtomicFieldData
for numeric data.
-
-
Method Summary
Modifier and Type Method Description SortedNumericDoubleValues
getDoubleValues()
Return a floating-point view of the values in this segment.org.apache.lucene.index.SortedNumericDocValues
getLongValues()
Get an integer view of the values of this segment.-
Methods inherited from interface org.elasticsearch.index.fielddata.AtomicFieldData
getBytesValues, getLegacyFieldValues, 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.
-
-