public class ParentChildIndexFieldData extends AbstractIndexFieldData<AtomicParentChildFieldData> implements IndexParentChildFieldData
| Modifier and Type | Class and Description |
|---|---|
static class |
ParentChildIndexFieldData.Builder |
class |
ParentChildIndexFieldData.GlobalFieldData |
AbstractIndexFieldData.PerValueEstimatorIndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourcecachedeprecationLogger, indexSettings, logger| Constructor and Description |
|---|
ParentChildIndexFieldData(IndexSettings indexSettings,
java.lang.String fieldName,
IndexFieldDataCache cache,
MapperService mapperService,
CircuitBreakerService breakerService) |
| Modifier and Type | Method and Description |
|---|---|
IndexFieldData.XFieldComparatorSource |
comparatorSource(java.lang.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,
java.lang.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, getFieldNamegetIndexSettings, indexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getFieldNameindexpublic ParentChildIndexFieldData(IndexSettings indexSettings, java.lang.String fieldName, IndexFieldDataCache cache, MapperService mapperService, CircuitBreakerService breakerService)
public IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldDatacomparatorSource in interface IndexFieldData<AtomicParentChildFieldData>public AtomicParentChildFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload in interface IndexFieldData<AtomicParentChildFieldData>load in class AbstractIndexFieldData<AtomicParentChildFieldData>public org.elasticsearch.index.fielddata.plain.AbstractAtomicParentChildFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context)
throws java.lang.Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicParentChildFieldData>java.lang.Exceptionprotected AtomicParentChildFieldData empty(int maxDoc)
empty in class AbstractIndexFieldData<AtomicParentChildFieldData>maxDoc - of the current readerpublic IndexParentChildFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexParentChildFieldDataIndexReader,
potentially from a cache.loadGlobal in interface IndexFieldData.Global<AtomicParentChildFieldData>loadGlobal in interface IndexParentChildFieldDatapublic IndexParentChildFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws java.lang.Exception
IndexParentChildFieldDataIndexReader.localGlobalDirect in interface IndexFieldData.Global<AtomicParentChildFieldData>localGlobalDirect in interface IndexParentChildFieldDatajava.lang.Exceptionpublic static org.apache.lucene.index.MultiDocValues.OrdinalMap getOrdinalMap(IndexParentChildFieldData indexParentChildFieldData, java.lang.String type)