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 SummaryNested Classes
- 
Field SummaryFieldsFields inherited from interface org.apache.lucene.util.AccountableNULL_ACCOUNTABLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal org.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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.AccountablegetChildResources
- 
Field Details- 
NO_VALUES
 
- 
- 
Constructor Details- 
Ordinalspublic Ordinals()
 
- 
- 
Method Details- 
ramBytesUsedpublic abstract long ramBytesUsed()The memory size this ordinals take.- Specified by:
- ramBytesUsedin interface- org.apache.lucene.util.Accountable
 
- 
ordinals
- 
ordinalspublic final org.apache.lucene.index.SortedSetDocValues ordinals()
 
-