Class LongScriptFieldData
java.lang.Object
org.elasticsearch.index.fielddata.IndexNumericFieldData
org.elasticsearch.index.fielddata.LongScriptFieldData
- All Implemented Interfaces:
IndexFieldData<LeafNumericFieldData>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.fielddata.IndexNumericFieldData
IndexNumericFieldData.NumericTypeNested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldData
IndexFieldData.Global<FD extends LeafFieldData>, IndexFieldData.XFieldComparatorSource -
Method Summary
Modifier and TypeMethodDescriptionThe field name.The numeric type of this number.The ValuesSourceType of the underlying data.load(org.apache.lucene.index.LeafReaderContext context)Loads the atomic field data for the reader, possibly cached.loadDirect(org.apache.lucene.index.LeafReaderContext context)Loads directly the atomic field data for the reader, ignoring any caching involved.protected booleanDoesIndexNumericFieldData.sortField(org.elasticsearch.index.fielddata.IndexNumericFieldData.NumericType, java.lang.Object, org.elasticsearch.search.MultiValueMode, org.elasticsearch.index.fielddata.IndexFieldData.XFieldComparatorSource.Nested, boolean)require a custom comparator because of the way the data is stored in doc values (true) or are the docs values stored such that they can be sorted without decoding (false).Methods inherited from class org.elasticsearch.index.fielddata.IndexNumericFieldData
convertNumeric, dateComparatorSource, dateNanosComparatorSource, newBucketedSort, newBucketedSort, sortField, sortField
-
Method Details
-
getFieldName
Description copied from interface:IndexFieldDataThe field name. -
getValuesSourceType
Description copied from interface:IndexFieldDataThe 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. -
load
public LongScriptFieldData.LongScriptLeafFieldData load(org.apache.lucene.index.LeafReaderContext context)Description copied from interface:IndexFieldDataLoads the atomic field data for the reader, possibly cached. -
loadDirect
public LongScriptFieldData.LongScriptLeafFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDescription copied from interface:IndexFieldDataLoads directly the atomic field data for the reader, ignoring any caching involved.- Throws:
IOException
-
getNumericType
Description copied from class:IndexNumericFieldDataThe numeric type of this number.- Specified by:
getNumericTypein classIndexNumericFieldData
-
sortRequiresCustomComparator
protected boolean sortRequiresCustomComparator()Description copied from class:IndexNumericFieldDataDoesIndexNumericFieldData.sortField(org.elasticsearch.index.fielddata.IndexNumericFieldData.NumericType, java.lang.Object, org.elasticsearch.search.MultiValueMode, org.elasticsearch.index.fielddata.IndexFieldData.XFieldComparatorSource.Nested, boolean)require a custom comparator because of the way the data is stored in doc values (true) or are the docs values stored such that they can be sorted without decoding (false).- Specified by:
sortRequiresCustomComparatorin classIndexNumericFieldData
-