Package org.apache.storm.blobstore
Class BlobStore.BlobStoreFileInputStream
java.lang.Object
java.io.InputStream
org.apache.storm.blobstore.InputStreamWithMeta
org.apache.storm.blobstore.BlobStore.BlobStoreFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- BlobStore
Input stream implementation used for writing both the metadata containing the acl information and the blob data.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BlobStoreFileInputStream
- Throws:
IOException
-
-
Method Details
-
getVersion
- Specified by:
getVersionin classInputStreamWithMeta- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
getFileLength
- Specified by:
getFileLengthin classInputStreamWithMeta- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-