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
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.index.SortedSetDocValues
ordinals()
abstract org.apache.lucene.index.SortedSetDocValues
ordinals(Ordinals.ValuesHolder values)
abstract long
The memory size this ordinals take.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
ordinals
-
ordinals
public final org.apache.lucene.index.SortedSetDocValues ordinals()
-