Class BytesBinaryDVIndexFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
org.elasticsearch.index.fielddata.plain.BytesBinaryDVIndexFieldData
- All Implemented Interfaces:
IndexFieldData<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
,IndexComponent
public class BytesBinaryDVIndexFieldData extends DocValuesIndexFieldData implements IndexFieldData<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BytesBinaryDVIndexFieldData.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
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 BytesBinaryDVIndexFieldData(Index index, java.lang.String fieldName)
-
Method Summary
Modifier and Type Method Description org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData
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
-
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<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
-
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<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
-
load
public org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData 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<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
-
loadDirect
public org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData 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<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>
- Throws:
java.lang.Exception
-