java.lang.Object
org.elasticsearch.index.fielddata.ordinals.Ordinals
All Implemented Interfaces:
org.apache.lucene.util.Accountable
Direct Known Subclasses:
MultiOrdinals, SinglePackedOrdinals

public abstract class Ordinals extends Object implements org.apache.lucene.util.Accountable
A thread safe ordinals abstraction. Ordinals can only be positive integers.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

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

    NULL_ACCOUNTABLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.index.SortedSetDocValues
     
    abstract org.apache.lucene.index.SortedSetDocValues
     
    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

  • Constructor Details

    • Ordinals

      public Ordinals()
  • Method Details

    • ramBytesUsed

      public abstract long ramBytesUsed()
      The memory size this ordinals take.
      Specified by:
      ramBytesUsed in interface org.apache.lucene.util.Accountable
    • ordinals

      public abstract org.apache.lucene.index.SortedSetDocValues ordinals(Ordinals.ValuesHolder values)
    • ordinals

      public final org.apache.lucene.index.SortedSetDocValues ordinals()