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.