Class CloudBlobHolder
- java.lang.Object
-
- org.apache.druid.storage.azure.blob.CloudBlobHolder
-
public class CloudBlobHolder extends Object
Wrapper forCloudBlob
. Used to make testing easier, sinceCloudBlob
is a final class and so is difficult to mock in unit tests.
-
-
Constructor Summary
Constructors Constructor Description CloudBlobHolder(com.microsoft.azure.storage.blob.CloudBlob delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBlobLength()
String
getContainerName()
Date
getLastModifed()
String
getName()
-
-
-
Method Detail
-
getContainerName
public String getContainerName() throws URISyntaxException, com.microsoft.azure.storage.StorageException
- Throws:
URISyntaxException
com.microsoft.azure.storage.StorageException
-
getName
public String getName()
-
getBlobLength
public long getBlobLength()
-
getLastModifed
public Date getLastModifed()
-
-