public class FloatArrayIndexFieldData extends AbstractIndexFieldData<AtomicNumericFieldData> implements IndexNumericFieldData
Modifier and Type | Class and Description |
---|---|
static class |
FloatArrayIndexFieldData.Builder |
AbstractIndexFieldData.PerValueEstimator
IndexNumericFieldData.NumericType
IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
cache, fieldDataType
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
FloatArrayIndexFieldData(Index index,
Settings indexSettings,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService) |
Modifier and Type | Method and Description |
---|---|
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 FloatArrayIndexFieldData(Index index, Settings indexSettings, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, 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 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–2016. All rights reserved.