public class ParentChildAtomicFieldData extends Object
| Constructor and Description |
|---|
ParentChildAtomicFieldData(ImmutableOpenMap<String,AtomicOrdinalsFieldData> typeToIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static AtomicParentChildFieldData |
empty() |
AtomicOrdinalsFieldData |
getAtomicFieldData(String type) |
SortedBinaryDocValues |
getBytesValues()
Return a String representation of the values.
|
Collection<org.apache.lucene.util.Accountable> |
getChildResources() |
org.apache.lucene.index.SortedDocValues |
getOrdinalsValues(String type)
Return the mapping for the given type.
|
ScriptDocValues |
getScriptValues()
Returns a "scripting" based values.
|
long |
ramBytesUsed() |
Set<String> |
types()
Return the set of types there is a mapping for.
|
public ParentChildAtomicFieldData(ImmutableOpenMap<String,AtomicOrdinalsFieldData> typeToIds)
public long ramBytesUsed()
public Collection<org.apache.lucene.util.Accountable> getChildResources()
public Set<String> types()
AtomicParentChildFieldDatapublic org.apache.lucene.index.SortedDocValues getOrdinalsValues(String type)
AtomicParentChildFieldDataSortedDocValues will map doc IDs to the identifier of their
parent.public AtomicOrdinalsFieldData getAtomicFieldData(String type)
public void close()
public final ScriptDocValues getScriptValues()
AtomicFieldDatagetScriptValues in interface AtomicFieldDatapublic final SortedBinaryDocValues getBytesValues()
AtomicFieldDatagetBytesValues in interface AtomicFieldDatapublic static AtomicParentChildFieldData empty()
Copyright © 2009–2017. All rights reserved.