Class SinglePackedOrdinals

java.lang.Object
org.elasticsearch.index.fielddata.ordinals.Ordinals
org.elasticsearch.index.fielddata.ordinals.SinglePackedOrdinals
All Implemented Interfaces:
org.apache.lucene.util.Accountable

public class SinglePackedOrdinals extends Ordinals
  • Constructor Details

    • SinglePackedOrdinals

      public SinglePackedOrdinals(OrdinalsBuilder builder, float acceptableOverheadRatio)
  • Method Details

    • ramBytesUsed

      public long ramBytesUsed()
      Description copied from class: Ordinals
      The memory size this ordinals take.
      Specified by:
      ramBytesUsed in interface org.apache.lucene.util.Accountable
      Specified by:
      ramBytesUsed in class Ordinals
    • getChildResources

      public Collection<org.apache.lucene.util.Accountable> getChildResources()
    • ordinals

      public org.apache.lucene.index.SortedSetDocValues ordinals(Ordinals.ValuesHolder values)
      Specified by:
      ordinals in class Ordinals