Class SinglePackedOrdinals
- java.lang.Object
-
- org.elasticsearch.index.fielddata.ordinals.Ordinals
-
- org.elasticsearch.index.fielddata.ordinals.SinglePackedOrdinals
-
- All Implemented Interfaces:
Accountable
public class SinglePackedOrdinals extends Ordinals
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.index.fielddata.ordinals.Ordinals
Ordinals.ValuesHolder
-
-
Constructor Summary
Constructors Constructor Description SinglePackedOrdinals(OrdinalsBuilder builder, float acceptableOverheadRatio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Accountable>getChildResources()Returns nested resources of this class.SortedSetDocValuesordinals(Ordinals.ValuesHolder values)longramBytesUsed()The memory size this ordinals take.
-
-
-
Constructor Detail
-
SinglePackedOrdinals
public SinglePackedOrdinals(OrdinalsBuilder builder, float acceptableOverheadRatio)
-
-
Method Detail
-
ramBytesUsed
public long ramBytesUsed()
Description copied from class:OrdinalsThe memory size this ordinals take.- Specified by:
ramBytesUsedin interfaceAccountable- Specified by:
ramBytesUsedin classOrdinals
-
getChildResources
public Collection<Accountable> getChildResources()
Description copied from interface:AccountableReturns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- See Also:
Accountables
-
ordinals
public SortedSetDocValues ordinals(Ordinals.ValuesHolder values)
-
-