Class ProjectionEntity (2.31.4)

publicfinalclass ProjectionEntityextendsBaseEntity<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)

publicstaticProjectionEntity.BuildernewBuilder(ProjectionEntitycopyFrom)
Parameter
Name Description
copyFrom ProjectionEntity
Returns
Type Description
ProjectionEntity.Builder

Methods

getBlob(String name)

publicBlobgetBlob(Stringname)

Returns the property value as a blob.

Parameter
Name Description
name String
Returns
Type Description
Blob
Overrides

getTimestamp(String name)

publicTimestampgetTimestamp(Stringname)

Returns the property value as a Timestamp.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.