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
componentSettings, index, indexSettings, logger
Constructor and Description |
---|
PackedArrayIndexFieldData(Index index,
Settings indexSettings,
FieldMapper.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.AtomicReader 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.
|
IndexNumericFieldData.NumericType |
getNumericType() |
AtomicNumericFieldData |
loadDirect(org.apache.lucene.index.AtomicReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
clear, clear, getFieldDataType, getFieldNames, load
index, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clear, getFieldDataType, getFieldNames, load
index
public PackedArrayIndexFieldData(Index index, @IndexSettings Settings indexSettings, FieldMapper.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.AtomicReaderContext context) throws Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicNumericFieldData>
Exception
protected IndexFieldData.CommonSettings.MemoryStorageFormat chooseStorageFormat(org.apache.lucene.index.AtomicReader reader, org.apache.lucene.util.packed.PackedLongValues values, Ordinals build, org.apache.lucene.index.RandomAccessOrds ordinals, long minValue, long maxValue, float acceptableOverheadRatio, int pageSize)
public IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicNumericFieldData>
Copyright © 2009–2015. All rights reserved.