Class BinaryDVIndexFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
org.elasticsearch.index.fielddata.plain.BinaryDVIndexFieldData
- All Implemented Interfaces:
IndexFieldData<BinaryDVLeafFieldData>
,IndexComponent
public class BinaryDVIndexFieldData extends DocValuesIndexFieldData implements IndexFieldData<BinaryDVLeafFieldData>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
DocValuesIndexFieldData.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
IndexFieldData.Builder, IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource
-
Field Summary
Fields inherited from class org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
fieldName, index
-
Constructor Summary
Constructors Constructor Description BinaryDVIndexFieldData(Index index, java.lang.String fieldName)
-
Method Summary
Modifier and Type Method Description BinaryDVLeafFieldData
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.BinaryDVLeafFieldData
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.BucketedSort
newBucketedSort(BigArrays bigArrays, java.lang.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(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
Returns theSortField
to use for sorting.Methods inherited from class org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
clear, clear, getFieldName, index
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
clear, getFieldName
-
Constructor Details
-
Method Details
-
load
Description copied from interface:IndexFieldData
Loads the atomic field data for the reader, possibly cached.- Specified by:
load
in interfaceIndexFieldData<BinaryDVLeafFieldData>
-
loadDirect
public BinaryDVLeafFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.ExceptionDescription copied from interface:IndexFieldData
Loads directly the atomic field data for the reader, ignoring any caching involved.- Specified by:
loadDirect
in interfaceIndexFieldData<BinaryDVLeafFieldData>
- Throws:
java.lang.Exception
-
sortField
public org.apache.lucene.search.SortField sortField(@Nullable java.lang.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<BinaryDVLeafFieldData>
-
newBucketedSort
public BucketedSort newBucketedSort(BigArrays bigArrays, java.lang.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<BinaryDVLeafFieldData>
-