Class BinaryDVAtomicFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.BinaryDVAtomicFieldData
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.apache.lucene.util.Accountable,Releasable,AtomicFieldData
public class BinaryDVAtomicFieldData extends java.lang.Object implements AtomicFieldData
AtomicFieldData impl on top of Lucene's binary doc values.-
Constructor Summary
Constructors Constructor Description BinaryDVAtomicFieldData(org.apache.lucene.index.LeafReader reader, java.lang.String field) -
Method Summary
Modifier and Type Method Description voidclose()SortedBinaryDocValuesgetBytesValues()Return a String representation of the values.java.util.Collection<org.apache.lucene.util.Accountable>getChildResources()ScriptDocValues.StringsgetScriptValues()Returns field values for use in scripting.longramBytesUsed()
-
Constructor Details
-
BinaryDVAtomicFieldData
public BinaryDVAtomicFieldData(org.apache.lucene.index.LeafReader reader, java.lang.String field)
-
-
Method Details
-
getBytesValues
Description copied from interface:AtomicFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceAtomicFieldData
-
getScriptValues
Description copied from interface:AtomicFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceAtomicFieldData
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getChildResources
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()- Specified by:
getChildResourcesin interfaceorg.apache.lucene.util.Accountable
-