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()
AtomicParentChildFieldData
public org.apache.lucene.index.SortedDocValues getOrdinalsValues(String type)
AtomicParentChildFieldData
SortedDocValues
will map doc IDs to the identifier of their
parent.public AtomicOrdinalsFieldData getAtomicFieldData(String type)
public void close()
public final ScriptDocValues getScriptValues()
AtomicFieldData
getScriptValues
in interface AtomicFieldData
public final SortedBinaryDocValues getBytesValues()
AtomicFieldData
getBytesValues
in interface AtomicFieldData
public static AtomicParentChildFieldData empty()
Copyright © 2009–2016. All rights reserved.