Class FilterCodecReader

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
SortingCodecReader

public abstract class FilterCodecReader extends CodecReader
A FilterCodecReader contains another CodecReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.

NOTE: If this FilterCodecReader does not change the content the contained reader, you could consider delegating calls to LeafReader.getCoreCacheHelper() and IndexReader.getReaderCacheHelper().

  • Field Details

    • in

      protected final CodecReader in
      The underlying CodecReader instance.
  • Constructor Details

    • FilterCodecReader

      public FilterCodecReader(CodecReader in)
      Creates a new FilterCodecReader.
      Parameters:
      in - the underlying CodecReader instance.
  • Method Details