public class ParentChildIndexFieldData.GlobalFieldData extends Object implements IndexParentChildFieldData, org.apache.lucene.util.Accountable
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears any resources associated with this field data.
|
IndexFieldData.XFieldComparatorSource |
comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
Collection<org.apache.lucene.util.Accountable> |
getChildResources() |
FieldDataType |
getFieldDataType()
The field data type.
|
MappedFieldType.Names |
getFieldNames()
The field name.
|
Index |
index() |
AtomicParentChildFieldData |
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.
|
AtomicParentChildFieldData |
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. |
long |
ramBytesUsed() |
public MappedFieldType.Names getFieldNames()
IndexFieldDatagetFieldNames in interface IndexFieldData<AtomicParentChildFieldData>public FieldDataType getFieldDataType()
IndexFieldDatagetFieldDataType in interface IndexFieldData<AtomicParentChildFieldData>public AtomicParentChildFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload in interface IndexFieldData<AtomicParentChildFieldData>public AtomicParentChildFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicParentChildFieldData>Exceptionpublic IndexFieldData.XFieldComparatorSource comparatorSource(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldDatacomparatorSource in interface IndexFieldData<AtomicParentChildFieldData>public void clear()
IndexFieldDataclear in interface IndexFieldData<AtomicParentChildFieldData>public Index index()
index in interface IndexComponentpublic long ramBytesUsed()
ramBytesUsed in interface org.apache.lucene.util.Accountablepublic Collection<org.apache.lucene.util.Accountable> getChildResources()
getChildResources in interface org.apache.lucene.util.Accountablepublic 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 Exception
IndexParentChildFieldDataIndexReader.localGlobalDirect in interface IndexFieldData.Global<AtomicParentChildFieldData>localGlobalDirect in interface IndexParentChildFieldDataExceptionCopyright © 2009–2016. All rights reserved.