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 void
close()
SortedBinaryDocValues
getBytesValues()
Return a String representation of the values.java.util.Collection<org.apache.lucene.util.Accountable>
getChildResources()
ScriptDocValues.Strings
getScriptValues()
Returns field values for use in scripting.long
ramBytesUsed()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.index.fielddata.AtomicFieldData
getLegacyFieldValues
-
-
-
-
Method Detail
-
getBytesValues
public SortedBinaryDocValues getBytesValues()
Description copied from interface:AtomicFieldData
Return a String representation of the values.- Specified by:
getBytesValues
in interfaceAtomicFieldData
-
getScriptValues
public ScriptDocValues.Strings getScriptValues()
Description copied from interface:AtomicFieldData
Returns field values for use in scripting.- Specified by:
getScriptValues
in interfaceAtomicFieldData
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()
- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
getChildResources
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()
- Specified by:
getChildResources
in interfaceorg.apache.lucene.util.Accountable
-
-