Package com.google.cloud.datastore
Class BaseKey
java.lang.Object
com.google.cloud.datastore.BaseKey
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IncompleteKey
Base class for keys.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
BaseKey.Builder<B extends BaseKey.Builder<B>>
Base class for key builders. -
Method Summary
-
Method Details
-
getProjectId
Returns the key's projectId. -
getNamespace
Returns the key's namespace ornull
if not provided. -
getDatabaseId
-
getAncestors
Returns an immutable list with the key's ancestors. -
getKind
Returns the key's kind. -
toString
-
hashCode
public int hashCode() -
equals
-