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, fieldDataTypecomponentSettings, 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, loadindex, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, clear, getFieldDataType, getFieldNames, loadindexpublic 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 IndexNumericFieldDatapublic AtomicNumericFieldData loadDirect(org.apache.lucene.index.AtomicReaderContext context) throws Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicNumericFieldData>Exceptionprotected 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)
IndexFieldDatacomparatorSource in interface IndexFieldData<AtomicNumericFieldData>Copyright © 2009–2016. All rights reserved.