Class OrdinalsReader.OrdinalsSegmentReader

  • Enclosing class:
    OrdinalsReader

    public abstract static class OrdinalsReader.OrdinalsSegmentReader
    extends java.lang.Object
    Returns ordinals for documents in one segment.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void get​(int doc, IntsRef ordinals)
      Get the ordinals for this document.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrdinalsSegmentReader

        public OrdinalsSegmentReader()
        Default constructor.
    • Method Detail

      • get

        public abstract void get​(int doc,
                                 IntsRef ordinals)
                          throws java.io.IOException
        Get the ordinals for this document. ordinals.offset must always be 0!
        Throws:
        java.io.IOException