public class SortedNumericDVIndexFieldData extends DocValuesIndexFieldData implements IndexNumericFieldData
LeafReader.getSortedNumericDocValues(String)
DocValuesType.SORTED_NUMERIC
DocValuesIndexFieldData.Builder
IndexNumericFieldData.NumericType
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
fieldDataType, fieldNames, index, logger
Constructor and Description |
---|
SortedNumericDVIndexFieldData(Index index,
MappedFieldType.Names fieldNames,
IndexNumericFieldData.NumericType numericType,
FieldDataType fieldDataType) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData.XFieldComparatorSource |
comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
IndexNumericFieldData.NumericType |
getNumericType() |
AtomicNumericFieldData |
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.
|
AtomicNumericFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
clear, clear, getFieldDataType, getFieldNames, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getFieldDataType, getFieldNames
index
public SortedNumericDVIndexFieldData(Index index, MappedFieldType.Names fieldNames, IndexNumericFieldData.NumericType numericType, FieldDataType fieldDataType)
public IndexFieldData.XFieldComparatorSource comparatorSource(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicNumericFieldData>
public IndexNumericFieldData.NumericType getNumericType()
getNumericType
in interface IndexNumericFieldData
public AtomicNumericFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicNumericFieldData>
Exception
public AtomicNumericFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldData
load
in interface IndexFieldData<AtomicNumericFieldData>
Copyright © 2009–2017. All rights reserved.