Class ProjectionEntity (2.11.4)

public final class ProjectionEntity extends BaseEntity<Key>

A projection entity is a result of a Google Cloud Datastore projection query. A projection entity holds one or more properties, represented by a name (as String) and a value (as Value), and may have a Key. See Also: Google Cloud Datastore Entities, Properties, and Keys, Google Cloud Datastore projection queries

Inheritance

java.lang.Object > BaseEntity > ProjectionEntity

Static Methods

newBuilder(ProjectionEntity copyFrom)

public static ProjectionEntity.Builder newBuilder(ProjectionEntity copyFrom)
Parameter
NameDescription
copyFromProjectionEntity
Returns
TypeDescription
ProjectionEntity.Builder

Methods

getBlob(String name)

public Blob getBlob(String name)

Returns the property value as a blob.

Parameter
NameDescription
nameString
Returns
TypeDescription
Blob
Overrides

getTimestamp(String name)

public Timestamp getTimestamp(String name)

Returns the property value as a Timestamp.

Parameter
NameDescription
nameString
Returns
TypeDescription
com.google.cloud.Timestamp
Overrides