Class BinaryScriptFieldData
java.lang.Object
org.elasticsearch.index.fielddata.BinaryScriptFieldData
- All Implemented Interfaces:
IndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
- Direct Known Subclasses:
IpScriptFieldData
,StringScriptFieldData
public abstract class BinaryScriptFieldData
extends Object
implements IndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
IndexFieldData.Builder, IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe field name.load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.newBucketedSort(BigArrays bigArrays, Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, SortOrder sortOrder, DocValueFormat format, int bucketSize, BucketedSort.ExtraData extra)
Build a sort implementation specialized for aggregations.org.apache.lucene.search.SortField
sortField(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
Returns theSortField
to use for sorting.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.IndexFieldData
getValuesSourceType, loadDirect
-
Constructor Details
-
BinaryScriptFieldData
-
-
Method Details
-
getFieldName
Description copied from interface:IndexFieldData
The field name.- Specified by:
getFieldName
in interfaceIndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
-
load
public BinaryScriptFieldData.BinaryScriptLeafFieldData load(org.apache.lucene.index.LeafReaderContext context)Description copied from interface:IndexFieldData
Loads the atomic field data for the reader, possibly cached.- Specified by:
load
in interfaceIndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
-
sortField
public org.apache.lucene.search.SortField sortField(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)Description copied from interface:IndexFieldData
Returns theSortField
to use for sorting.- Specified by:
sortField
in interfaceIndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
-
newBucketedSort
public BucketedSort newBucketedSort(BigArrays bigArrays, Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, SortOrder sortOrder, DocValueFormat format, int bucketSize, BucketedSort.ExtraData extra)Description copied from interface:IndexFieldData
Build a sort implementation specialized for aggregations.- Specified by:
newBucketedSort
in interfaceIndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
-