Class BlobKey (2.0.0)

public final class BlobKey implements Serializable, Comparable<BlobKey>

BlobKey contains the string identifier of a large (possibly larger than 1MB) blob of binary data that was uploaded in a previous request and can be streamed directly to users.

Inheritance

java.lang.Object > BlobKey

Constructors

BlobKey(String blobKey)

public BlobKey(String blobKey)

Construct a new BlobKey with the specified key string.

Parameter
NameDescription
blobKeyString

Methods

compareTo(BlobKey o)

public int compareTo(BlobKey o)
Parameter
NameDescription
oBlobKey
Returns
TypeDescription
int

equals(@Nullable Object object)

public boolean equals(@Nullable Object object)

Two BlobKey objects are considered equal if they point to the same blobs.

Parameter
NameDescription
object@org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
TypeDescription
boolean
Overrides

getKeyString()

public String getKeyString()

Returns the blob key as a String.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides