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
Name Description
blobKey String

Methods

compareTo(BlobKey o)

public int compareTo(BlobKey o)
Parameter
Name Description
o BlobKey
Returns
Type Description
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
Name Description
object @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getKeyString()

public String getKeyString()

Returns the blob key as a String.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides