public static final class Pipeline.SnapshotA Snapshot contains the results of a pipeline execution. It can be used to access the documents, execution time, and explain stats.
Methods
getExecutionTime()
public Timestamp getExecutionTime()The time at which the pipeline producing this result is executed.
| Returns | |
|---|---|
| Type | Description |
com.google.cloud.Timestamp |
The execution time of the pipeline. |
getExplainStats()
public ExplainStats getExplainStats()Return stats from query explain.
If explainOptions.mode was set to execute or left unset, then this returns null.
| Returns | |
|---|---|
| Type | Description |
ExplainStats |
The explain stats, or |
getResults()
public List<PipelineResult> getResults()An array of all the results in the Snapshot.
| Returns | |
|---|---|
| Type | Description |
List<PipelineResult> |
The list of results. |