public class ParentChildIndexFieldData.GlobalFieldData extends java.lang.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.
|
java.util.Collection<org.apache.lucene.util.Accountable> |
getChildResources() |
java.lang.String |
getFieldName()
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() |
org.apache.lucene.search.SortField |
sortField(java.lang.Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested,
boolean reverse)
Returns the
SortField to used for sorting. |
public java.lang.String getFieldName()
IndexFieldData
getFieldName
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 java.lang.Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicParentChildFieldData>
java.lang.Exception
public org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
IndexFieldData
SortField
to used for sorting.sortField
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 java.util.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 java.lang.Exception
IndexParentChildFieldData
IndexReader
.localGlobalDirect
in interface IndexFieldData.Global<AtomicParentChildFieldData>
localGlobalDirect
in interface IndexParentChildFieldData
java.lang.Exception