Class Lucene60PointsReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Accountable

    public class Lucene60PointsReader
    extends PointsReader
    implements java.io.Closeable
    Reads point values previously written with Lucene60PointsWriter
    • Constructor Detail

      • Lucene60PointsReader

        public Lucene60PointsReader​(SegmentReadState readState)
                             throws java.io.IOException
        Sole constructor
        Throws:
        java.io.IOException
    • Method Detail

      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
        Specified by:
        ramBytesUsed in interface Accountable
      • getChildResources

        public java.util.Collection<Accountable> getChildResources()
        Description copied from interface: Accountable
        Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).
        Specified by:
        getChildResources in interface Accountable
        See Also:
        Accountables
      • checkIntegrity

        public void checkIntegrity()
                            throws java.io.IOException
        Description copied from class: PointsReader
        Checks consistency of this reader.

        Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.

        Specified by:
        checkIntegrity in class PointsReader
        Throws:
        java.io.IOException
      • close

        public 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