public interface GSBlobStorage
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GSBlobStorage.BlobMetadata
Abstract blob metadata.
|
static interface |
GSBlobStorage.WriteChannel
Abstract blob write channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compose(List<GSBlobIdentifier> sourceBlobIdentifiers,
GSBlobIdentifier targetBlobIdentifier)
Composes multiple blobs into one.
|
void |
copy(GSBlobIdentifier sourceBlobIdentifier,
GSBlobIdentifier targetBlobIdentifier)
Copies from a source blob id to a target blob id.
|
void |
createBlob(GSBlobIdentifier blobIdentifier)
Create an empty blob.
|
List<Boolean> |
delete(Iterable<GSBlobIdentifier> blobIdentifiers)
Deletes blobs.
|
Optional<GSBlobStorage.BlobMetadata> |
getMetadata(GSBlobIdentifier blobIdentifier)
Gets blob metadata.
|
List<GSBlobIdentifier> |
list(String bucketName,
String prefix)
Lists all the blobs in a bucket matching a given prefix.
|
GSBlobStorage.WriteChannel |
writeBlob(GSBlobIdentifier blobIdentifier)
Creates a write channel with the default chunk size.
|
GSBlobStorage.WriteChannel |
writeBlob(GSBlobIdentifier blobIdentifier,
org.apache.flink.configuration.MemorySize chunkSize)
Creates a write channel with the specified chunk size.
|
GSBlobStorage.WriteChannel writeBlob(GSBlobIdentifier blobIdentifier)
blobIdentifier - The blob identifier to which to writeGSBlobStorage.WriteChannel writeBlob(GSBlobIdentifier blobIdentifier, org.apache.flink.configuration.MemorySize chunkSize)
blobIdentifier - The blob identifier to which to writechunkSize - The chunk size, must be > 0void createBlob(GSBlobIdentifier blobIdentifier)
blobIdentifier - The blob to createOptional<GSBlobStorage.BlobMetadata> getMetadata(GSBlobIdentifier blobIdentifier)
blobIdentifier - The blob identifierList<GSBlobIdentifier> list(String bucketName, String prefix)
bucketName - The bucket nameprefix - The object prefixvoid copy(GSBlobIdentifier sourceBlobIdentifier, GSBlobIdentifier targetBlobIdentifier)
sourceBlobIdentifier - The source blob identifiertargetBlobIdentifier - The target glob identifiervoid compose(List<GSBlobIdentifier> sourceBlobIdentifiers, GSBlobIdentifier targetBlobIdentifier)
sourceBlobIdentifiers - The source blob identifiers to combine, max of 32targetBlobIdentifier - The target blob identifierList<Boolean> delete(Iterable<GSBlobIdentifier> blobIdentifiers)
blobIdentifiers - The blob identifiers to deleteCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.