Module org.elasticsearch.server
Class KeyedFlattenedLeafFieldData
java.lang.Object
org.elasticsearch.index.mapper.flattened.KeyedFlattenedLeafFieldData
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- org.apache.lucene.util.Accountable,- Releasable,- LeafFieldData,- LeafOrdinalsFieldData
The atomic field data implementation for 
FlattenedFieldMapper.KeyedFlattenedFieldType.
 This class wraps the field data that is built directly on the keyed flattened field,
 and filters out values whose prefix doesn't match the requested key.
 In order to support all usage patterns, the delegate's ordinal values are shifted
 to range from 0 to the number of total values.- 
Field SummaryFields inherited from interface org.apache.lucene.util.AccountableNULL_ACCOUNTABLE
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Return a String representation of the values.Collection<org.apache.lucene.util.Accountable>org.apache.lucene.index.SortedSetDocValuesReturn the ordinals values for the current atomic reader.getScriptFieldFactory(String name) longMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.index.fielddata.LeafFieldDatagetFormattedValues
- 
Method Details- 
ramBytesUsedpublic long ramBytesUsed()- Specified by:
- ramBytesUsedin interface- org.apache.lucene.util.Accountable
 
- 
getChildResources- Specified by:
- getChildResourcesin interface- org.apache.lucene.util.Accountable
 
- 
getOrdinalsValuespublic org.apache.lucene.index.SortedSetDocValues getOrdinalsValues()Description copied from interface:LeafOrdinalsFieldDataReturn the ordinals values for the current atomic reader.- Specified by:
- getOrdinalsValuesin interface- LeafOrdinalsFieldData
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- Releasable
 
- 
getScriptFieldFactoryDescription copied from interface:LeafFieldData- Specified by:
- getScriptFieldFactoryin interface- LeafFieldData
 
- 
getBytesValuesDescription copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
- getBytesValuesin interface- LeafFieldData
 
 
-