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
Specialization of
LeafFieldData
for numeric data.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Method Summary
Modifier and TypeMethodDescriptionReturn a floating-point view of the values in this segment.org.apache.lucene.index.SortedNumericDocValues
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.LeafFieldData
getBytesValues, getFormattedValues, getScriptField, getScriptValues
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
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.
-