public class DeleteEvent
extends org.springframework.context.ApplicationEvent
source| Constructor and Description |
|---|
DeleteEvent(com.google.cloud.datastore.Key[] keysToDelete,
Class targetEntityClass,
Iterable targetIds,
Iterable targetEntities)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.cloud.datastore.Key[] |
getKeys()
Get the keys that were deleted in this operation.
|
Optional<Iterable> |
getOptionalTargetEntities()
Get thetarget entity objects deleted.
|
Optional<Class> |
getOptionalTargetEntityClass()
Get the target entity type deleted.
|
Optional<Iterable> |
getOptionalTargetIds()
Get the target entity ID values deleted.
|
int |
hashCode() |
getSource, toStringpublic DeleteEvent(com.google.cloud.datastore.Key[] keysToDelete,
Class targetEntityClass,
Iterable targetIds,
Iterable targetEntities)
keysToDelete - The keys that are deleted in this operation (never null).targetEntityClass - The target entity type deleted. This may be null
depending on the specific delete operation.targetIds - The target entity ID values deleted. This may be null
depending on the specific delete operation.targetEntities - The target entity objects deleted. This may be null
depending on the specific delete operation.public com.google.cloud.datastore.Key[] getKeys()
public Optional<Class> getOptionalTargetEntityClass()
public Optional<Iterable> getOptionalTargetIds()
public Optional<Iterable> getOptionalTargetEntities()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.