Package cz.o2.proxima.direct.io.s3
Class BulkS3Writer
- java.lang.Object
-
- cz.o2.proxima.direct.io.blob.BulkBlobWriter<S3BlobPath.S3Blob,cz.o2.proxima.direct.io.s3.S3Accessor>
-
- cz.o2.proxima.direct.io.s3.BulkS3Writer
-
- All Implemented Interfaces:
AttributeWriterBase
,BulkAttributeWriter
,java.lang.AutoCloseable
@Stable public class BulkS3Writer extends BulkBlobWriter<S3BlobPath.S3Blob,cz.o2.proxima.direct.io.s3.S3Accessor>
BulkAttributeWriter
for gcloud storage.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase
AttributeWriterBase.Type
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.BulkAttributeWriter
BulkAttributeWriter.Factory<T extends BulkAttributeWriter>
-
-
Constructor Summary
Constructors Constructor Description BulkS3Writer(cz.o2.proxima.direct.io.s3.S3Accessor accessor, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkAttributeWriter.Factory<?>
asFactory()
Convert instance of this writer toAttributeWriterBase.Factory
suitable for serialization.protected void
deleteBlobIfExists(S3BlobPath.S3Blob blob)
Delete specified blob.-
Methods inherited from class cz.o2.proxima.direct.io.blob.BulkBlobWriter
close, getEntityDescriptor, getUri, rollback, updateWatermark, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase
bulk, online
-
Methods inherited from interface cz.o2.proxima.direct.core.BulkAttributeWriter
getType
-
-
-
-
Constructor Detail
-
BulkS3Writer
public BulkS3Writer(cz.o2.proxima.direct.io.s3.S3Accessor accessor, Context context)
-
-
Method Detail
-
deleteBlobIfExists
protected void deleteBlobIfExists(S3BlobPath.S3Blob blob)
Description copied from class:BulkBlobWriter
Delete specified blob.- Specified by:
deleteBlobIfExists
in classBulkBlobWriter<S3BlobPath.S3Blob,cz.o2.proxima.direct.io.s3.S3Accessor>
-
asFactory
public BulkAttributeWriter.Factory<?> asFactory()
Description copied from interface:AttributeWriterBase
Convert instance of this writer toAttributeWriterBase.Factory
suitable for serialization.- Returns:
- the
AttributeWriterBase.Factory
representing this reader
-
-