Class ProjectionEntity (2.24.1)

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
Name Description
copyFrom ProjectionEntity
Returns
Type Description
ProjectionEntity.Builder

Methods

getBlob(String name)

public Blob getBlob(String name)

Returns the property value as a blob.

Parameter
Name Description
name String
Returns
Type Description
Blob
Overrides

getTimestamp(String name)

public Timestamp getTimestamp(String name)

Returns the property value as a Timestamp.

Parameter
Name Description
name String
Returns
Type Description
com.google.cloud.Timestamp
Overrides