Class BinaryDVAtomicFieldData
- java.lang.Object
-
- org.elasticsearch.index.fielddata.plain.BinaryDVAtomicFieldData
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Accountable,Releasable,AtomicFieldData
public class BinaryDVAtomicFieldData extends Object implements AtomicFieldData
AtomicFieldDataimpl on top of Lucene's binary doc values.
-
-
Constructor Summary
Constructors Constructor Description BinaryDVAtomicFieldData(LeafReader reader, String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()SortedBinaryDocValuesgetBytesValues()Return a String representation of the values.Collection<Accountable>getChildResources()Returns nested resources of this class.ScriptDocValues.StringsgetScriptValues()Returns field values for use in scripting.longramBytesUsed()Return the memory usage of this object in bytes.
-
-
-
Constructor Detail
-
BinaryDVAtomicFieldData
public BinaryDVAtomicFieldData(LeafReader reader, String field)
-
-
Method Detail
-
getBytesValues
public SortedBinaryDocValues getBytesValues()
Description copied from interface:AtomicFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceAtomicFieldData
-
getScriptValues
public ScriptDocValues.Strings getScriptValues()
Description copied from interface:AtomicFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceAtomicFieldData
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()
Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsedin interfaceAccountable
-
getChildResources
public Collection<Accountable> getChildResources()
Description copied from interface:AccountableReturns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- Specified by:
getChildResourcesin interfaceAccountable- See Also:
Accountables
-
-