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.ByteSource
Used for getting anInputStream
to 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 InputStream
openStream()
InputStream
openStream(long offset)
-
-
-
Constructor Detail
-
AzureByteSource
public AzureByteSource(AzureStorage azureStorage, String containerName, String blobPath)
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStream
in classcom.google.common.io.ByteSource
- Throws:
IOException
-
openStream
public InputStream openStream(long offset) throws IOException
- Throws:
IOException
-
-