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.PerValueEstimatorIndexNumericFieldData.NumericTypeIndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourcecache, fieldDataTypedeprecationLogger, 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, loadindex, indexSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getFieldDataType, getFieldNames, loadindexpublic PackedArrayIndexFieldData(Index index, Settings indexSettings, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, IndexNumericFieldData.NumericType numericType, CircuitBreakerService breakerService)
public IndexNumericFieldData.NumericType getNumericType()
getNumericType in interface IndexNumericFieldDatapublic AtomicNumericFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicNumericFieldData>Exceptionprotected 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)
IndexFieldDatacomparatorSource in interface IndexFieldData<AtomicNumericFieldData>Copyright © 2009–2017. All rights reserved.