Class StoredFieldsReader

    • Constructor Detail

      • StoredFieldsReader

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

      • clone

        public abstract StoredFieldsReader clone()
        Overrides:
        clone in class java.lang.Object
      • 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 StoredFieldsReader getMergeInstance()
        Returns an instance optimized for merging. This instance may not be cloned.

        The default implementation returns this