public abstract class AbstractAzureClient extends Object implements AzureClient
Modifier and Type | Class and Description |
---|---|
static class |
AbstractAzureClient.AzureCredentials |
Constructor and Description |
---|
AbstractAzureClient() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
containerExists(String containerName) |
protected abstract void |
createContainer(String containerName) |
AzureFilePath |
createDirectory(AzureFilePath path) |
protected abstract void |
createEmptyBlob(String containerName,
String blobPath) |
protected abstract void |
createEmptyDirectory(String containerName,
String blobPath) |
boolean |
createNewFile(AzureFilePath path) |
void |
delete(AzureFilePath path,
boolean recursively) |
protected abstract void |
deleteContainer(String containerName) |
protected abstract void |
deletePath(String containerName,
String blobPath) |
boolean |
exists(AzureFilePath path) |
protected abstract AbstractAzureClient.AzureCredentials |
getAzureCredentials() |
abstract PathDetails |
getDetails(AzureFilePath path) |
protected abstract List<PathDetails> |
listBlobs(AzureFilePath path) |
protected abstract List<PathDetails> |
listContainers(AzureFilePath path) |
List<PathDetails> |
listDirectory(AzureFilePath path) |
abstract boolean |
move(AzureFilePath from,
AzureFilePath to) |
abstract InputStream |
newInputStream(AzureFilePath path) |
abstract SplitInputStream |
newInputStream(AzureFilePath path,
long start,
long length,
int buffer) |
abstract OutputStream |
newOutputStream(AzureFilePath path) |
protected abstract boolean |
pathExists(String containerName,
String blobPath) |
com.pervasive.datarush.azure.FileState |
whatIsThis(AzureFilePath path) |
public AzureFilePath createDirectory(AzureFilePath path) throws IOException
createDirectory
in interface AzureClient
IOException
public boolean createNewFile(AzureFilePath path) throws IOException
createNewFile
in interface AzureClient
IOException
public void delete(AzureFilePath path, boolean recursively) throws IOException
delete
in interface AzureClient
IOException
public boolean exists(AzureFilePath path) throws IOException
exists
in interface AzureClient
IOException
public List<PathDetails> listDirectory(AzureFilePath path) throws IOException
listDirectory
in interface AzureClient
IOException
public com.pervasive.datarush.azure.FileState whatIsThis(AzureFilePath path) throws IOException
whatIsThis
in interface AzureClient
IOException
public abstract PathDetails getDetails(AzureFilePath path) throws IOException
getDetails
in interface AzureClient
IOException
public abstract boolean move(AzureFilePath from, AzureFilePath to) throws IOException
move
in interface AzureClient
IOException
public abstract InputStream newInputStream(AzureFilePath path) throws IOException
newInputStream
in interface AzureClient
IOException
public abstract SplitInputStream newInputStream(AzureFilePath path, long start, long length, int buffer) throws IOException
IOException
public abstract OutputStream newOutputStream(AzureFilePath path) throws IOException
newOutputStream
in interface AzureClient
IOException
protected abstract void deleteContainer(String containerName) throws IOException
IOException
protected abstract void deletePath(String containerName, String blobPath) throws IOException
IOException
protected abstract void createContainer(String containerName) throws IOException
IOException
protected abstract void createEmptyBlob(String containerName, String blobPath) throws IOException
IOException
protected abstract void createEmptyDirectory(String containerName, String blobPath) throws IOException
IOException
protected abstract boolean containerExists(String containerName) throws IOException
IOException
protected abstract boolean pathExists(String containerName, String blobPath) throws IOException
IOException
protected abstract List<PathDetails> listContainers(AzureFilePath path) throws IOException
IOException
protected abstract List<PathDetails> listBlobs(AzureFilePath path) throws IOException
IOException
protected abstract AbstractAzureClient.AzureCredentials getAzureCredentials()
Copyright © 2020 Actian Corporation. All rights reserved.