Class AbstractLeafOrdinalsFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.AbstractLeafOrdinalsFieldData
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.lucene.util.Accountable
,org.elasticsearch.core.Releasable
,LeafFieldData
,LeafOrdinalsFieldData
- Direct Known Subclasses:
PagedBytesLeafFieldData
,SortedSetBytesLeafFieldData
-
Field Summary
Modifier and TypeFieldDescriptionstatic Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>>
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractLeafOrdinalsFieldData(Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction)
-
Method Summary
Modifier and TypeMethodDescriptionstatic LeafOrdinalsFieldData
empty()
Return a String representation of the values.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.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
Methods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
getFormattedValues
Methods inherited from interface org.elasticsearch.index.fielddata.LeafOrdinalsFieldData
getOrdinalsValues
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Field Details
-
DEFAULT_SCRIPT_FUNCTION
public static final Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> DEFAULT_SCRIPT_FUNCTION
-
-
Constructor Details
-
AbstractLeafOrdinalsFieldData
protected AbstractLeafOrdinalsFieldData(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
-