public class ParentChildIndexFieldData extends AbstractIndexFieldData<AtomicParentChildFieldData> implements IndexParentChildFieldData, DocumentTypeListener
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
ParentChildIndexFieldData.Builder |
class |
ParentChildIndexFieldData.GlobalFieldData |
class |
ParentChildIndexFieldData.ParentChildEstimator
Estimator that wraps parent/child id field data by wrapping the data
in a RamAccountingTermsEnum.
|
AbstractIndexFieldData.PerValueEstimatorIndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourcecache, fieldDataTypedeprecationLogger, index, indexSettings, logger| コンストラクタと説明 |
|---|
ParentChildIndexFieldData(Index index,
Settings indexSettings,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
IndexFieldDataCache cache,
MapperService mapperService,
CircuitBreakerService breakerService) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
beforeCreate(DocumentMapper mapper)
Invoked just before a new document type has been created.
|
IndexFieldData.XFieldComparatorSource |
comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
protected AtomicParentChildFieldData |
empty(int maxDoc) |
static org.apache.lucene.index.MultiDocValues.OrdinalMap |
getOrdinalMap(IndexParentChildFieldData indexParentChildFieldData,
String type)
Returns the global ordinal map for the specified type
|
AtomicParentChildFieldData |
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.
|
org.elasticsearch.index.fielddata.plain.AbstractAtomicParentChildFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
IndexParentChildFieldData |
loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
Load a global view of the ordinals for the given
IndexReader,
potentially from a cache. |
IndexParentChildFieldData |
localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader)
Load a global view of the ordinals for the given
IndexReader. |
clear, getFieldDataType, getFieldNamesindex, indexSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getFieldDataType, getFieldNamesindexpublic ParentChildIndexFieldData(Index index, Settings indexSettings, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, MapperService mapperService, CircuitBreakerService breakerService)
public IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldDatacomparatorSource インタフェース内 IndexFieldData<AtomicParentChildFieldData>public AtomicParentChildFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload インタフェース内 IndexFieldData<AtomicParentChildFieldData>load クラス内 AbstractIndexFieldData<AtomicParentChildFieldData>public org.elasticsearch.index.fielddata.plain.AbstractAtomicParentChildFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context)
throws Exception
IndexFieldDataloadDirect インタフェース内 IndexFieldData<AtomicParentChildFieldData>Exceptionpublic void beforeCreate(DocumentMapper mapper)
DocumentTypeListenerbeforeCreate インタフェース内 DocumentTypeListenermapper - The new document mapper of the type being addedprotected AtomicParentChildFieldData empty(int maxDoc)
empty クラス内 AbstractIndexFieldData<AtomicParentChildFieldData>maxDoc - of the current readerpublic IndexParentChildFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexParentChildFieldDataIndexReader,
potentially from a cache.loadGlobal インタフェース内 IndexFieldData.Global<AtomicParentChildFieldData>loadGlobal インタフェース内 IndexParentChildFieldDatapublic IndexParentChildFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws Exception
IndexParentChildFieldDataIndexReader.localGlobalDirect インタフェース内 IndexFieldData.Global<AtomicParentChildFieldData>localGlobalDirect インタフェース内 IndexParentChildFieldDataExceptionpublic static org.apache.lucene.index.MultiDocValues.OrdinalMap getOrdinalMap(IndexParentChildFieldData indexParentChildFieldData, String type)
Copyright © 2009–2016. All rights reserved.