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
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractLeafOrdinalsFieldData(ToScriptField<org.apache.lucene.index.SortedSetDocValues> toScriptField) -
Method Summary
Modifier and TypeMethodDescriptionstatic LeafOrdinalsFieldDataempty(ToScriptField<org.apache.lucene.index.SortedSetDocValues> toScriptField) final SortedBinaryDocValuesReturn a String representation of the values.final DocValuesField<?>getScriptField(String name) Returns anFieldfor use in accessing field values 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
-
Constructor Details
-
AbstractLeafOrdinalsFieldData
protected AbstractLeafOrdinalsFieldData(ToScriptField<org.apache.lucene.index.SortedSetDocValues> toScriptField)
-
-
Method Details
-
getScriptField
Description copied from interface:LeafFieldDataReturns anFieldfor use in accessing field values in scripting.- Specified by:
getScriptFieldin interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
empty
public static LeafOrdinalsFieldData empty(ToScriptField<org.apache.lucene.index.SortedSetDocValues> toScriptField)
-