Class LeafDoubleFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.util.Accountable,org.elasticsearch.core.Releasable,LeafFieldData,LeafNumericFieldData
- Direct Known Subclasses:
DoubleScriptFieldData.DoubleScriptLeafFieldData
Specialization of
LeafNumericFieldData for floating-point numerics.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static LeafNumericFieldDataempty(int maxDoc)Return a String representation of the values.getFormattedValues(DocValueFormat format)Return a formatted representation of the valuesorg.apache.lucene.index.SortedNumericDocValuesGet an integer view of the values of this segment.Returns field values for use in scripting.longMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResourcesMethods inherited from interface org.elasticsearch.index.fielddata.LeafNumericFieldData
getDoubleValues
-
Constructor Details
-
LeafDoubleFieldData
protected LeafDoubleFieldData(long ramBytesUsed)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getScriptValues
Description copied from interface:LeafFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
getLongValues
public final org.apache.lucene.index.SortedNumericDocValues getLongValues()Description copied from interface:LeafNumericFieldDataGet 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.- Specified by:
getLongValuesin interfaceLeafNumericFieldData
-
empty
-
getFormattedValues
Description copied from interface:LeafFieldDataReturn a formatted representation of the values- Specified by:
getFormattedValuesin interfaceLeafFieldData
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-