java.lang.Object
com.pervasive.datarush.azure.AbstractAzureClient
- All Implemented Interfaces:
AzureClient
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleancontainerExists(String containerName) protected abstract voidcreateContainer(String containerName) createDirectory(AzureFilePath path) protected abstract voidcreateEmptyBlob(String containerName, String blobPath) protected abstract voidcreateEmptyDirectory(String containerName, String blobPath) booleancreateNewFile(AzureFilePath path) voiddelete(AzureFilePath path, boolean recursively) protected abstract voiddeleteContainer(String containerName) protected abstract voiddeletePath(String containerName, String blobPath) booleanexists(AzureFilePath path) protected abstract AbstractAzureClient.AzureCredentialsabstract PathDetailsgetDetails(AzureFilePath path) protected abstract List<PathDetails>listBlobs(AzureFilePath path) protected abstract List<PathDetails>listContainers(AzureFilePath path) listDirectory(AzureFilePath path) abstract booleanmove(AzureFilePath from, AzureFilePath to) abstract InputStreamnewInputStream(AzureFilePath path) abstract SplitInputStreamnewInputStream(AzureFilePath path, long start, long length, int buffer) abstract OutputStreamnewOutputStream(AzureFilePath path) protected abstract booleanpathExists(String containerName, String blobPath) whatIsThis(AzureFilePath path)
-
Constructor Details
-
AbstractAzureClient
public AbstractAzureClient()
-
-
Method Details
-
createDirectory
- Specified by:
createDirectoryin interfaceAzureClient- Throws:
IOException
-
createNewFile
- Specified by:
createNewFilein interfaceAzureClient- Throws:
IOException
-
delete
- Specified by:
deletein interfaceAzureClient- Throws:
IOException
-
exists
- Specified by:
existsin interfaceAzureClient- Throws:
IOException
-
listDirectory
- Specified by:
listDirectoryin interfaceAzureClient- Throws:
IOException
-
whatIsThis
- Specified by:
whatIsThisin interfaceAzureClient- Throws:
IOException
-
getDetails
- Specified by:
getDetailsin interfaceAzureClient- Throws:
IOException
-
move
- Specified by:
movein interfaceAzureClient- Throws:
IOException
-
newInputStream
- Specified by:
newInputStreamin interfaceAzureClient- Throws:
IOException
-
newInputStream
public abstract SplitInputStream newInputStream(AzureFilePath path, long start, long length, int buffer) throws IOException - Throws:
IOException
-
newOutputStream
- Specified by:
newOutputStreamin interfaceAzureClient- Throws:
IOException
-
deleteContainer
- Throws:
IOException
-
deletePath
- Throws:
IOException
-
createContainer
- Throws:
IOException
-
createEmptyBlob
- Throws:
IOException
-
createEmptyDirectory
protected abstract void createEmptyDirectory(String containerName, String blobPath) throws IOException - Throws:
IOException
-
containerExists
- Throws:
IOException
-
pathExists
- Throws:
IOException
-
listContainers
- Throws:
IOException
-
listBlobs
- Throws:
IOException
-
getAzureCredentials
-