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 classBytesBinaryDVIndexFieldData.BuilderNested 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.BytesBinaryDVLeafFieldDataload(org.apache.lucene.index.LeafReaderContext context)Loads the atomic field data for the reader, possibly cached.org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldDataloadDirect(org.apache.lucene.index.LeafReaderContext context)Loads directly the atomic field data for the reader, ignoring any caching involved.BucketedSortnewBucketedSort(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.SortFieldsortField(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)Returns theSortFieldto use for sorting.Methods inherited from class org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData
clear, clear, getFieldName, indexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IndexFieldDataReturns theSortFieldto use for sorting.- Specified by:
sortFieldin 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:IndexFieldDataBuild a sort implementation specialized for aggregations.- Specified by:
newBucketedSortin 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:IndexFieldDataLoads the atomic field data for the reader, possibly cached.- Specified by:
loadin 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:IndexFieldDataLoads directly the atomic field data for the reader, ignoring any caching involved.- Specified by:
loadDirectin interfaceIndexFieldData<org.elasticsearch.index.fielddata.plain.BytesBinaryDVLeafFieldData>- Throws:
java.lang.Exception
-