public class AfterQueryEvent extends LoadEvent
source
Constructor and Description |
---|
AfterQueryEvent(Iterable source,
Statement query,
SpannerQueryOptions spannerQueryOptions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Statement |
getQuery()
Get the read query that was run.
|
SpannerQueryOptions |
getSpannerQueryOptions()
Get the options that were used to conduct the query.
|
int |
hashCode() |
getRetrievedEntities
getSource, toString
public AfterQueryEvent(Iterable source, Statement query, SpannerQueryOptions spannerQueryOptions)
source
- The entities that were read from Cloud Spanner.This is never null
.query
- the read query that was run.spannerQueryOptions
- the options that were used to conduct the query. This may be null
if the operation was a key-based read.public Statement getQuery()
public SpannerQueryOptions getSpannerQueryOptions()
null
if the operation was a key-based read.Copyright © 2022. All rights reserved.