Package org.apache.storm.blobstore
Class InputStreamWithMeta
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.storm.blobstore.InputStreamWithMeta
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
BlobStore.BlobStoreFileInputStream
,NimbusBlobStore.NimbusDownloadInputStream
public abstract class InputStreamWithMeta extends InputStream
-
-
Constructor Summary
Constructors Constructor Description InputStreamWithMeta()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getFileLength()
abstract long
getVersion()
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Method Detail
-
getVersion
public abstract long getVersion() throws IOException
- Throws:
IOException
-
getFileLength
public abstract long getFileLength() throws IOException
- Throws:
IOException
-
-