Class BoundedRangeFileInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class BoundedRangeFileInputStream
    extends InputStream
    BoundedRangeFIleInputStream abstracts a contiguous region of a Hadoop FSDataInputStream as a regular input stream. One can create multiple BoundedRangeFileInputStream on top of the same FSDataInputStream and they would not interfere with each other.