Class FieldsProducer

    • Constructor Detail

      • FieldsProducer

        protected FieldsProducer()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • 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
      • checkIntegrity

        public abstract void checkIntegrity()
                                     throws java.io.IOException
        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.

        Throws:
        java.io.IOException
      • getMergeInstance

        public FieldsProducer getMergeInstance()
        Returns an instance optimized for merging. This instance may only be consumed in the thread that called getMergeInstance().

        The default implementation returns this