public class MutationEvent
extends org.springframework.context.ApplicationEvent
source| Constructor and Description |
|---|
MutationEvent(List<com.google.cloud.spanner.Mutation> source,
Iterable targetEntities)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<com.google.cloud.spanner.Mutation> |
getMutations()
Get the mutations underlying this event.
|
Iterable |
getTargetEntities()
Get the list of entities that needed to be deleted.
|
int |
hashCode() |
getSource, toStringpublic MutationEvent(List<com.google.cloud.spanner.Mutation> source, Iterable targetEntities)
source - the mutations for the event initially occurred. (never null)targetEntities - the target entities that need to be mutated. This may be
null depending on the type of delete request.public List<com.google.cloud.spanner.Mutation> getMutations()
public Iterable getTargetEntities()
null depending on the type of delete request.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.