public class FileSystemDFSConnection extends Object implements DFSConnection
| Constructor and Description |
|---|
FileSystemDFSConnection(FilesystemConnectionProperties properties) |
FileSystemDFSConnection(FilesystemRootBucketName basedir) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blobExists(BucketPath bucketPath) |
boolean |
containerExists(BucketDirectory bucketDirectory) |
void |
createContainer(BucketDirectory bucketDirectory) |
void |
deleteContainer(BucketDirectory container) |
Payload |
getBlob(BucketPath bucketPath) |
PayloadStream |
getBlobStream(BucketPath bucketPath) |
ConnectionProperties |
getConnectionProperties() |
ExtendedStoreConnectionType |
getType() |
List<BucketPath> |
list(BucketDirectory bucketDirectory,
ListRecursiveFlag listRecursiveFlag) |
List<BucketDirectory> |
listAllBuckets() |
void |
putBlob(BucketPath bucketPath,
Payload payload) |
void |
putBlobStream(BucketPath bucketPath,
PayloadStream payloadStream) |
void |
removeBlob(BucketPath bucketPath) |
void |
removeBlobFolder(BucketDirectory bucketDirectory) |
public FileSystemDFSConnection(FilesystemConnectionProperties properties)
public FileSystemDFSConnection(FilesystemRootBucketName basedir)
public void createContainer(BucketDirectory bucketDirectory)
createContainer in interface DFSConnectionpublic boolean containerExists(BucketDirectory bucketDirectory)
containerExists in interface DFSConnectionpublic void deleteContainer(BucketDirectory container)
deleteContainer in interface DFSConnectionpublic boolean blobExists(BucketPath bucketPath)
blobExists in interface DFSConnectionpublic List<BucketPath> list(BucketDirectory bucketDirectory, ListRecursiveFlag listRecursiveFlag)
list in interface DFSConnectionpublic List<BucketDirectory> listAllBuckets()
listAllBuckets in interface DFSConnectionpublic ExtendedStoreConnectionType getType()
getType in interface DFSConnectionpublic ConnectionProperties getConnectionProperties()
getConnectionProperties in interface DFSConnectionpublic void putBlob(BucketPath bucketPath, Payload payload)
putBlob in interface DFSConnectionpublic Payload getBlob(BucketPath bucketPath)
getBlob in interface DFSConnectionpublic void putBlobStream(BucketPath bucketPath, PayloadStream payloadStream)
putBlobStream in interface DFSConnectionpublic PayloadStream getBlobStream(BucketPath bucketPath)
getBlobStream in interface DFSConnectionpublic void removeBlob(BucketPath bucketPath)
removeBlob in interface DFSConnectionpublic void removeBlobFolder(BucketDirectory bucketDirectory)
removeBlobFolder in interface DFSConnectionCopyright © 2019. All Rights Reserved.