Class FieldsProducer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<java.lang.String>
    Direct Known Subclasses:
    BlockTreeTermsReader

    public abstract class FieldsProducer
    extends Fields
    implements java.io.Closeable
    Abstract API that produces terms, doc, freq, prox, offset and payloads postings.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void close()  
      abstract long ramBytesUsed()
      Returns approximate RAM bytes used
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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
      • ramBytesUsed

        public abstract long ramBytesUsed()
        Returns approximate RAM bytes used