public class AfterReadEvent extends LoadEvent
source| Constructor and Description |
|---|
AfterReadEvent(Iterable source,
KeySet keySet,
SpannerReadOptions spannerReadOptions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
KeySet |
getKeySet()
Get the keys that were read.
|
SpannerReadOptions |
getSpannerReadOptions()
Get the options that were used to conduct the read.
|
int |
hashCode() |
getRetrievedEntitiesgetSource, toStringpublic AfterReadEvent(Iterable source, KeySet keySet, SpannerReadOptions spannerReadOptions)
source - The entities that were read from Cloud Spanner.This is never
null.keySet - the keys that were read.spannerReadOptions - the options that were used to conduct the read. This may be
null if the read operation wasn't a key-based read.public SpannerReadOptions getSpannerReadOptions()
null if the read operation wasn't a key-based read.public KeySet getKeySet()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.