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
FieldsModifier and TypeFieldDescriptionstatic Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>>Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractLeafOrdinalsFieldData(Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction) -
Method Summary
Modifier and TypeMethodDescriptionstatic LeafOrdinalsFieldDataempty()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, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsedMethods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
getFormattedValuesMethods inherited from interface org.elasticsearch.index.fielddata.LeafOrdinalsFieldData
getOrdinalsValuesMethods 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:LeafFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
empty
-