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
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.elasticsearch.index.fielddata.ordinals.Ordinals

    Ordinals.ValuesHolder
  • Field Summary

    Fields inherited from class org.elasticsearch.index.fielddata.ordinals.Ordinals

    NO_VALUES

    Fields inherited from interface org.apache.lucene.util.Accountable

    NULL_ACCOUNTABLE
  • Constructor Summary

    Constructors
    Constructor Description
    SinglePackedOrdinals​(OrdinalsBuilder builder, float acceptableOverheadRatio)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()  
    org.apache.lucene.index.SortedSetDocValues ordinals​(Ordinals.ValuesHolder values)  
    long ramBytesUsed()
    The memory size this ordinals take.

    Methods inherited from class org.elasticsearch.index.fielddata.ordinals.Ordinals

    ordinals

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()
    • ordinals

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