- java.lang.Object
 - 
- com.pervasive.datarush.azure.AbstractAzureClient
 
 
- 
- All Implemented Interfaces:
 AzureClient
public abstract class AbstractAzureClient extends Object implements AzureClient
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractAzureClient.AzureCredentials 
- 
Constructor Summary
Constructors Constructor Description AbstractAzureClient() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleancontainerExists(String containerName)protected abstract voidcreateContainer(String containerName)AzureFilePathcreateDirectory(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.AzureCredentialsgetAzureCredentials()abstract PathDetailsgetDetails(AzureFilePath path)protected abstract List<PathDetails>listBlobs(AzureFilePath path)protected abstract List<PathDetails>listContainers(AzureFilePath path)List<PathDetails>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)com.pervasive.datarush.azure.FileStatewhatIsThis(AzureFilePath path) 
 - 
 
- 
- 
Method Detail
- 
createDirectory
public AzureFilePath createDirectory(AzureFilePath path) throws IOException
- Specified by:
 createDirectoryin interfaceAzureClient- Throws:
 IOException
 
- 
createNewFile
public boolean createNewFile(AzureFilePath path) throws IOException
- Specified by:
 createNewFilein interfaceAzureClient- Throws:
 IOException
 
- 
delete
public void delete(AzureFilePath path, boolean recursively) throws IOException
- Specified by:
 deletein interfaceAzureClient- Throws:
 IOException
 
- 
exists
public boolean exists(AzureFilePath path) throws IOException
- Specified by:
 existsin interfaceAzureClient- Throws:
 IOException
 
- 
listDirectory
public List<PathDetails> listDirectory(AzureFilePath path) throws IOException
- Specified by:
 listDirectoryin interfaceAzureClient- Throws:
 IOException
 
- 
whatIsThis
public com.pervasive.datarush.azure.FileState whatIsThis(AzureFilePath path) throws IOException
- Specified by:
 whatIsThisin interfaceAzureClient- Throws:
 IOException
 
- 
getDetails
public abstract PathDetails getDetails(AzureFilePath path) throws IOException
- Specified by:
 getDetailsin interfaceAzureClient- Throws:
 IOException
 
- 
move
public abstract boolean move(AzureFilePath from, AzureFilePath to) throws IOException
- Specified by:
 movein interfaceAzureClient- Throws:
 IOException
 
- 
newInputStream
public abstract InputStream newInputStream(AzureFilePath path) throws IOException
- Specified by:
 newInputStreamin interfaceAzureClient- Throws:
 IOException
 
- 
newInputStream
public abstract SplitInputStream newInputStream(AzureFilePath path, long start, long length, int buffer) throws IOException
- Throws:
 IOException
 
- 
newOutputStream
public abstract OutputStream newOutputStream(AzureFilePath path) throws IOException
- Specified by:
 newOutputStreamin interfaceAzureClient- Throws:
 IOException
 
- 
deleteContainer
protected abstract void deleteContainer(String containerName) throws IOException
- Throws:
 IOException
 
- 
deletePath
protected abstract void deletePath(String containerName, String blobPath) throws IOException
- Throws:
 IOException
 
- 
createContainer
protected abstract void createContainer(String containerName) throws IOException
- Throws:
 IOException
 
- 
createEmptyBlob
protected abstract void createEmptyBlob(String containerName, String blobPath) throws IOException
- Throws:
 IOException
 
- 
createEmptyDirectory
protected abstract void createEmptyDirectory(String containerName, String blobPath) throws IOException
- Throws:
 IOException
 
- 
containerExists
protected abstract boolean containerExists(String containerName) throws IOException
- Throws:
 IOException
 
- 
pathExists
protected abstract boolean pathExists(String containerName, String blobPath) throws IOException
- Throws:
 IOException
 
- 
listContainers
protected abstract List<PathDetails> listContainers(AzureFilePath path) throws IOException
- Throws:
 IOException
 
- 
listBlobs
protected abstract List<PathDetails> listBlobs(AzureFilePath path) throws IOException
- Throws:
 IOException
 
- 
getAzureCredentials
protected abstract AbstractAzureClient.AzureCredentials getAzureCredentials()
 
 - 
 
 -