Class TermsIndexReaderBase

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Accountable
    Direct Known Subclasses:
    FixedGapTermsIndexReader, VariableGapTermsIndexReader

    public abstract class TermsIndexReaderBase
    extends java.lang.Object
    implements java.io.Closeable, Accountable
    BlockTermsReader interacts with an instance of this class to manage its terms index. The writer must accept indexed terms (many pairs of BytesRef text + long fileOffset), and then this reader must be able to retrieve the nearest index term to a provided term text.
    • Constructor Detail

      • TermsIndexReaderBase

        public TermsIndexReaderBase()
    • Method Detail

      • close

        public abstract void close()
                            throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • supportsOrd

        public abstract boolean supportsOrd()