Class FilterIndexOutput

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
ByteTrackingIndexOutput, EndiannessReverserIndexOutput, RateLimitedIndexOutput

public class FilterIndexOutput extends IndexOutput
IndexOutput implementation that delegates calls to another directory. This class can be used to add limitations on top of an existing IndexOutput implementation such as ByteBuffersIndexOutput or to add additional sanity checks for tests. However, if you plan to write your own IndexOutput implementation, you should consider extending directly IndexOutput or DataOutput rather than try to reuse functionality of existing IndexOutputs by extending this class.
  • Field Details

  • Constructor Details

    • FilterIndexOutput

      protected FilterIndexOutput(String resourceDescription, String name, IndexOutput out)
      Creates a FilterIndexOutput with a resource description, name, and wrapped delegate IndexOutput
  • Method Details