Class StringBinaryIndexFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.StringBinaryIndexFieldData
All Implemented Interfaces:
IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>

public class StringBinaryIndexFieldData extends Object implements IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
  • Field Details

    • fieldName

      protected final String fieldName
    • valuesSourceType

      protected final ValuesSourceType valuesSourceType
  • Constructor Details

    • StringBinaryIndexFieldData

      public StringBinaryIndexFieldData(String fieldName, ValuesSourceType valuesSourceType)
  • Method Details

    • getFieldName

      public final String getFieldName()
      Description copied from interface: IndexFieldData
      The field name.
      Specified by:
      getFieldName in interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
    • getValuesSourceType

      public ValuesSourceType getValuesSourceType()
      Description copied from interface: IndexFieldData
      The ValuesSourceType of the underlying data. It's possible for fields that use the same IndexFieldData implementation to have different ValuesSourceTypes, such as in the case of Longs and Dates.
      Specified by:
      getValuesSourceType in interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
    • sortField

      public org.apache.lucene.search.SortField sortField(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
      Description copied from interface: IndexFieldData
      Returns the SortField to use for sorting.
      Specified by:
      sortField in interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
    • load

      public org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData 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 interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
    • 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 interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
    • loadDirect

      public org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
      Description copied from interface: IndexFieldData
      Loads directly the atomic field data for the reader, ignoring any caching involved.
      Specified by:
      loadDirect in interface IndexFieldData<org.elasticsearch.index.fielddata.plain.StringBinaryDVLeafFieldData>
      Throws:
      Exception