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()
IndexFieldData
getFieldNames
in interface IndexFieldData<AtomicParentChildFieldData>
public FieldDataType getFieldDataType()
IndexFieldData
getFieldDataType
in interface IndexFieldData<AtomicParentChildFieldData>
public AtomicParentChildFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldData
load
in interface IndexFieldData<AtomicParentChildFieldData>
public AtomicParentChildFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicParentChildFieldData>
Exception
public IndexFieldData.XFieldComparatorSource comparatorSource(Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicParentChildFieldData>
public void clear()
IndexFieldData
clear
in interface IndexFieldData<AtomicParentChildFieldData>
public Index index()
index
in interface IndexComponent
public long ramBytesUsed()
ramBytesUsed
in interface org.apache.lucene.util.Accountable
public Collection<org.apache.lucene.util.Accountable> getChildResources()
getChildResources
in interface org.apache.lucene.util.Accountable
public IndexParentChildFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexParentChildFieldData
IndexReader
,
potentially from a cache.loadGlobal
in interface IndexFieldData.Global<AtomicParentChildFieldData>
loadGlobal
in interface IndexParentChildFieldData
public IndexParentChildFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws Exception
IndexParentChildFieldData
IndexReader
.localGlobalDirect
in interface IndexFieldData.Global<AtomicParentChildFieldData>
localGlobalDirect
in interface IndexParentChildFieldData
Exception
Copyright © 2009–2016. All rights reserved.