Class Ordinals

  • All Implemented Interfaces:
    Direct Known Subclasses:
    MultiOrdinals, SinglePackedOrdinals

    public abstract class Ordinals
    extends java.lang.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  Ordinals.ValuesHolder  
    • Constructor Summary

      Constructor Description
    • Method Summary

      Modifier and Type Method Description
      org.apache.lucene.index.SortedSetDocValues ordinals()  
      abstract org.apache.lucene.index.SortedSetDocValues ordinals​(Ordinals.ValuesHolder values)  
      abstract long ramBytesUsed()
      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

    • Constructor Detail

      • Ordinals

        public Ordinals()
    • Method Detail

      • 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()