Package org.apache.flink.fs.gs.storage
Class GSBlobIdentifier
java.lang.Object
org.apache.flink.fs.gs.storage.GSBlobIdentifier
An abstraction for the Google BlobId type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGSBlobIdentifier(String bucketName, String objectName) Construct an abstract blob identifier. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GSBlobIdentifierfromBlobId(com.google.cloud.storage.BlobId blobId) Construct an abstract blob identifier from a Google BlobId.com.google.cloud.storage.BlobIdGet a Google blob id for this identifier, with generation=null.inthashCode()toString()
-
Field Details
-
bucketName
The bucket name. -
objectName
The object name, within the bucket.
-
-
Constructor Details
-
GSBlobIdentifier
Construct an abstract blob identifier.- Parameters:
bucketName- The bucket nameobjectName- The object name
-
-
Method Details
-
getBlobId
public com.google.cloud.storage.BlobId getBlobId()Get a Google blob id for this identifier, with generation=null.- Returns:
- The BlobId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromBlobId
Construct an abstract blob identifier from a Google BlobId.- Parameters:
blobId- The Google BlobId- Returns:
- The abstract blob identifier
-