public abstract class AbstractIndexFieldData<FD extends AtomicFieldData> extends AbstractIndexComponent implements IndexFieldData<FD>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractIndexFieldData.PerValueEstimator
A
PerValueEstimator is a sub-class that can be used to estimate
the memory overhead for loading the data. |
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource| Modifier and Type | Field and Description |
|---|---|
protected IndexFieldDataCache |
cache |
protected FieldDataType |
fieldDataType |
componentSettings, index, indexSettings, logger| Constructor and Description |
|---|
AbstractIndexFieldData(Index index,
Settings indexSettings,
FieldMapper.Names fieldNames,
FieldDataType fieldDataType,
IndexFieldDataCache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears any resources associated with this field data.
|
void |
clear(org.apache.lucene.index.IndexReader reader) |
FieldDataType |
getFieldDataType()
The field data type.
|
FieldMapper.Names |
getFieldNames()
The field name.
|
FD |
load(org.apache.lucene.index.AtomicReaderContext context)
Loads the atomic field data for the reader, possibly cached.
|
index, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparatorSource, loadDirectindexprotected final FieldDataType fieldDataType
protected final IndexFieldDataCache cache
public AbstractIndexFieldData(Index index, @IndexSettings Settings indexSettings, FieldMapper.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache)
public FieldMapper.Names getFieldNames()
IndexFieldDatagetFieldNames in interface IndexFieldData<FD extends AtomicFieldData>public FieldDataType getFieldDataType()
IndexFieldDatagetFieldDataType in interface IndexFieldData<FD extends AtomicFieldData>public void clear()
IndexFieldDataclear in interface IndexFieldData<FD extends AtomicFieldData>public void clear(org.apache.lucene.index.IndexReader reader)
clear in interface IndexFieldData<FD extends AtomicFieldData>public FD load(org.apache.lucene.index.AtomicReaderContext context)
IndexFieldDataload in interface IndexFieldData<FD extends AtomicFieldData>Copyright © 2009–2016. All rights reserved.