Package org.apache.druid.storage.azure
Class AzureByteSource
- java.lang.Object
-
- com.google.common.io.ByteSource
-
- org.apache.druid.storage.azure.AzureByteSource
-
- All Implemented Interfaces:
com.google.common.io.InputSupplier<InputStream>
public class AzureByteSource extends com.google.common.io.ByteSourceUsed for getting anInputStreamto an azure resource.
-
-
Constructor Summary
Constructors Constructor Description AzureByteSource(AzureStorage azureStorage, String containerName, String blobPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamopenStream()InputStreamopenStream(long offset)
-
-
-
Constructor Detail
-
AzureByteSource
public AzureByteSource(AzureStorage azureStorage, String containerName, String blobPath)
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStreamin classcom.google.common.io.ByteSource- Throws:
IOException
-
openStream
public InputStream openStream(long offset) throws IOException
- Throws:
IOException
-
-