public class PackedArrayIndexFieldData extends AbstractIndexFieldData<AtomicNumericFieldData> implements IndexNumericFieldData
Modifier and Type | Class and Description |
---|---|
static class |
PackedArrayIndexFieldData.Builder |
class |
PackedArrayIndexFieldData.PackedArrayEstimator
Estimator that wraps numeric field data loading in a
RamAccountingTermsEnum, adjusting the breaker after data has been
loaded
|
AbstractIndexFieldData.PerValueEstimator
IndexNumericFieldData.NumericType
IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
cache, fieldDataType
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
PackedArrayIndexFieldData(Index index,
Settings indexSettings,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
IndexFieldDataCache cache,
IndexNumericFieldData.NumericType numericType,
CircuitBreakerService breakerService) |
Modifier and Type | Method and Description |
---|---|
protected IndexFieldData.CommonSettings.MemoryStorageFormat |
chooseStorageFormat(org.apache.lucene.index.LeafReader reader,
org.apache.lucene.util.packed.PackedLongValues values,
Ordinals build,
org.apache.lucene.index.RandomAccessOrds ordinals,
long minValue,
long maxValue,
float acceptableOverheadRatio,
int pageSize) |
IndexFieldData.XFieldComparatorSource |
comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
protected AtomicNumericFieldData |
empty(int maxDoc) |
IndexNumericFieldData.NumericType |
getNumericType() |
AtomicNumericFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
clear, getFieldDataType, getFieldNames, load
index, indexSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getFieldDataType, getFieldNames, load
index
public PackedArrayIndexFieldData(Index index, Settings indexSettings, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, IndexNumericFieldData.NumericType numericType, CircuitBreakerService breakerService)
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
protected IndexFieldData.CommonSettings.MemoryStorageFormat chooseStorageFormat(org.apache.lucene.index.LeafReader reader, org.apache.lucene.util.packed.PackedLongValues values, Ordinals build, org.apache.lucene.index.RandomAccessOrds ordinals, long minValue, long maxValue, float acceptableOverheadRatio, int pageSize)
protected AtomicNumericFieldData empty(int maxDoc)
empty
in class AbstractIndexFieldData<AtomicNumericFieldData>
maxDoc
- of the current readerpublic IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicNumericFieldData>
Copyright © 2009–2017. All rights reserved.