Module org.elasticsearch.server
Class LeafLongFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafLongFieldData
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.util.Accountable,Releasable,LeafFieldData,LeafNumericFieldData
- Direct Known Subclasses:
BooleanScriptFieldData.BooleanScriptLeafFieldData,DateScriptFieldData.DateScriptLeafFieldData,LongScriptFieldData.LongScriptLeafFieldData,SortedNumericIndexFieldData.NanoSecondFieldData
Specialization of
LeafNumericFieldData for integers.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final SortedBinaryDocValuesReturn a String representation of the values.Return a floating-point view of the values in this segment.getFormattedValues(DocValueFormat format) Return a formatted representation of the valueslongMethods 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.LeafFieldData
getScriptFieldFactoryMethods inherited from interface org.elasticsearch.index.fielddata.LeafNumericFieldData
getLongValues
-
Constructor Details
-
LeafLongFieldData
protected LeafLongFieldData(long ramBytesUsed)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
getDoubleValues
Description copied from interface:LeafNumericFieldDataReturn 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.- Specified by:
getDoubleValuesin interfaceLeafNumericFieldData
-
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 interfaceReleasable
-