Class OperatorInputStream
java.lang.Object
java.io.InputStream
org.apache.opendal.OperatorInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
Reads a byte range sequentially through an
OperatorReader.
Each stream owns its native iterator and must be closed independently of its source reader.
Reading a closed stream throws IllegalStateException.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
OperatorInputStream
-
-
Method Details
-
read
public int read()- Specified by:
readin classInputStream
-
read
public int read(byte[] b, int off, int len) - Overrides:
readin classInputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-