Class AbstractLeafOrdinalsFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.AbstractLeafOrdinalsFieldData
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.lucene.util.Accountable
,Releasable
,LeafFieldData
,LeafOrdinalsFieldData
- Direct Known Subclasses:
PagedBytesLeafFieldData
,SortedSetDVBytesLeafFieldData
public abstract class AbstractLeafOrdinalsFieldData extends java.lang.Object implements LeafOrdinalsFieldData
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>>
DEFAULT_SCRIPT_FUNCTION
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractLeafOrdinalsFieldData(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction)
-
Method Summary
Modifier and Type Method Description static LeafOrdinalsFieldData
empty()
SortedBinaryDocValues
getBytesValues()
Return a String representation of the values.ScriptDocValues<?>
getScriptValues()
Returns field values for use in scripting.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.LeafOrdinalsFieldData
getOrdinalsValues
-
Field Details
-
DEFAULT_SCRIPT_FUNCTION
public static final java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> DEFAULT_SCRIPT_FUNCTION
-
-
Constructor Details
-
AbstractLeafOrdinalsFieldData
protected AbstractLeafOrdinalsFieldData(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction)
-
-
Method Details
-
getScriptValues
Description copied from interface:LeafFieldData
Returns field values for use in scripting.- Specified by:
getScriptValues
in interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldData
Return a String representation of the values.- Specified by:
getBytesValues
in interfaceLeafFieldData
-
empty
-