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) |
void |
deleteDatabase() |
Payload |
getBlob(BucketPath bucketPath) |
PayloadStream |
getBlobStream(BucketPath bucketPath) |
ConnectionProperties |
getConnectionProperties() |
List<BucketPath> |
list(BucketDirectory bucketDirectory,
ListRecursiveFlag listRecursiveFlag) |
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 boolean blobExists(BucketPath bucketPath)
blobExists in interface DFSConnectionpublic List<BucketPath> list(BucketDirectory bucketDirectory, ListRecursiveFlag listRecursiveFlag)
list in interface DFSConnectionpublic void deleteDatabase()
deleteDatabase 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.