Class Ordinals
java.lang.Object
org.elasticsearch.index.fielddata.ordinals.Ordinals
- All Implemented Interfaces:
 org.apache.lucene.util.Accountable
- Direct Known Subclasses:
 MultiOrdinals,SinglePackedOrdinals
A thread safe ordinals abstraction. Ordinals can only be positive integers.
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.index.SortedSetDocValuesordinals()abstract org.apache.lucene.index.SortedSetDocValuesordinals(Ordinals.ValuesHolder values)abstract longThe memory size this ordinals take.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources 
- 
Field Details
- 
NO_VALUES
 
 - 
 - 
Constructor Details
- 
Ordinals
public Ordinals() 
 - 
 - 
Method Details
- 
ramBytesUsed
public abstract long ramBytesUsed()The memory size this ordinals take.- Specified by:
 ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
 - 
ordinals
 - 
ordinals
public final org.apache.lucene.index.SortedSetDocValues ordinals() 
 -