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,SortedSetBytesLeafFieldData
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 protectedAbstractLeafOrdinalsFieldData(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction) -
Method Summary
Modifier and Type Method Description static LeafOrdinalsFieldDataempty()SortedBinaryDocValuesgetBytesValues()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, waitMethods 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: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
-