Package org.apache.flink.fs.gs.storage
Class GSBlobIdentifier
- java.lang.Object
-
- org.apache.flink.fs.gs.storage.GSBlobIdentifier
-
public class GSBlobIdentifier extends Object
An abstraction for the Google BlobId type.
-
-
Field Summary
Fields Modifier and Type Field Description StringbucketNameThe bucket name.StringobjectNameThe object name, within the bucket.
-
Constructor Summary
Constructors Constructor Description GSBlobIdentifier(String bucketName, String objectName)Construct an abstract blob identifier.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GSBlobIdentifierfromBlobId(com.google.cloud.storage.BlobId blobId)Construct an abstract blob identifier from a Google BlobId.com.google.cloud.storage.BlobIdgetBlobId()Get a Google blob id for this identifier, with generation=null.inthashCode()StringtoString()
-
-
-
Method Detail
-
getBlobId
public com.google.cloud.storage.BlobId getBlobId()
Get a Google blob id for this identifier, with generation=null.- Returns:
- The BlobId
-
fromBlobId
public static GSBlobIdentifier fromBlobId(com.google.cloud.storage.BlobId blobId)
Construct an abstract blob identifier from a Google BlobId.- Parameters:
blobId- The Google BlobId- Returns:
- The abstract blob identifier
-
-