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
Static Methods
newBuilder(ProjectionEntity copyFrom)
public static ProjectionEntity.Builder newBuilder(ProjectionEntity copyFrom)
Name | Description |
copyFrom | ProjectionEntity |
Type | Description |
ProjectionEntity.Builder |
Methods
getBlob(String name)
public Blob getBlob(String name)
Returns the property value as a blob.
Name | Description |
name | String |
Type | Description |
Blob |
getTimestamp(String name)
public Timestamp getTimestamp(String name)
Returns the property value as a Timestamp.
Name | Description |
name | String |
Type | Description |
com.google.cloud.Timestamp |