Class GCPRawStorageImpl
java.lang.Object
org.webpieces.googlecloud.storage.impl.raw.GCPRawStorageImpl
- All Implemented Interfaces:
GCPRawStorage
ADD NO CODE to this class as it is not tested until integration time. If it is 1 to 1,
there is no testing to do and we rely on google's testing of Storage.java they have
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy(com.google.cloud.storage.Storage.CopyRequest copyRequest) booleancom.google.cloud.storage.Bucketcom.google.api.gax.paging.Page<GCPBlob>byte[]readAllBytes(String bucket, String blob, com.google.cloud.storage.Storage.BlobSourceOption... options) com.google.cloud.ReadChannelcom.google.cloud.WriteChannelwriter(com.google.cloud.storage.BlobInfo blobInfo, com.google.cloud.storage.Storage.BlobWriteOption... options)
-
Constructor Details
-
GCPRawStorageImpl
-
-
Method Details
-
get
public com.google.cloud.storage.Bucket get(String bucket, com.google.cloud.storage.Storage.BucketGetOption... options) - Specified by:
getin interfaceGCPRawStorage
-
get
public GCPBlob get(String bucket, String blob, com.google.cloud.storage.Storage.BlobGetOption... options) - Specified by:
getin interfaceGCPRawStorage
-
list
public com.google.api.gax.paging.Page<GCPBlob> list(String bucket, com.google.cloud.storage.Storage.BlobListOption... options) - Specified by:
listin interfaceGCPRawStorage
-
delete
public boolean delete(String bucket, String blob, com.google.cloud.storage.Storage.BlobSourceOption... options) - Specified by:
deletein interfaceGCPRawStorage
-
readAllBytes
public byte[] readAllBytes(String bucket, String blob, com.google.cloud.storage.Storage.BlobSourceOption... options) - Specified by:
readAllBytesin interfaceGCPRawStorage
-
reader
public com.google.cloud.ReadChannel reader(String bucket, String blob, com.google.cloud.storage.Storage.BlobSourceOption... options) - Specified by:
readerin interfaceGCPRawStorage
-
writer
public com.google.cloud.WriteChannel writer(com.google.cloud.storage.BlobInfo blobInfo, com.google.cloud.storage.Storage.BlobWriteOption... options) - Specified by:
writerin interfaceGCPRawStorage
-
copy
- Specified by:
copyin interfaceGCPRawStorage
-