Class BinaryScriptFieldData
org.elasticsearch.index.fielddata.BinaryScriptFieldData
- All Implemented Interfaces:
IndexFieldData<BinaryScriptFieldData.BinaryScriptLeafFieldData>
- Direct Known Subclasses:
IpScriptFieldData
,StringScriptFieldData
public abstract class BinaryScriptFieldData
extends
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
ModifierConstructorDescriptionprotected
fieldName)
-
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, 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
missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
Returns theSortField
to use for sorting.Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
getValuesSourceType, loadDirect
-
Constructor Details
-
BinaryScriptFieldData
protected BinaryScriptFieldData( fieldName)
-
-
Method Details
-
getFieldName
public 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( 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, 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>
-