Class StoredFieldsReader

    • Constructor Detail

      • StoredFieldsReader

        protected StoredFieldsReader()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • checkIntegrity

        public abstract void checkIntegrity()
                                     throws 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:
        IOException
        NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
      • getMergeInstance

        public StoredFieldsReader getMergeInstance()
        Returns an instance optimized for merging. This instance may not be cloned.

        The default implementation returns this