Class FilterIndexOutput

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    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.
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    • Constructor Detail

      • FilterIndexOutput

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