Class FilterIndexInput

All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable

public class FilterIndexInput extends IndexInput
IndexInput implementation that delegates calls to another directory. This class can be used to add limitations on top of an existing IndexInput implementation or to add additional sanity checks for tests. However, if you plan to write your own IndexInput implementation, you should consider extending directly IndexInput or DataInput rather than try to reuse functionality of existing IndexInputs by extending this class.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Field Details

  • Constructor Details

    • FilterIndexInput

      public FilterIndexInput(String resourceDescription, IndexInput in)
      Creates a FilterIndexInput with a resource description and wrapped delegate IndexInput
  • Method Details