Class SlowCompositeCodecReaderWrapper.SlowCompositeNormsProducer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    SlowCompositeCodecReaderWrapper

    private static class SlowCompositeCodecReaderWrapper.SlowCompositeNormsProducer
    extends NormsProducer
    • Constructor Detail

      • SlowCompositeNormsProducer

        SlowCompositeNormsProducer​(CodecReader[] codecReaders)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getNorms

        public NumericDocValues getNorms​(FieldInfo field)
                                  throws java.io.IOException
        Description copied from class: NormsProducer
        Returns NumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the given field doesn't have norms enabled on its FieldInfo. The return value is never null.
        Specified by:
        getNorms in class NormsProducer
        Throws:
        java.io.IOException
      • checkIntegrity

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

        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 NormsProducer
        Throws:
        java.io.IOException