public class QueryStage extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryStage.QueryStep
Each query stage is made of a number of steps.
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeRatioAvg()
Returns the time the average worker spent CPU-bound, divided by the longest time spent by any
worker in any segment.
|
double |
computeRatioMax()
Returns the time the slowest worker spent CPU-bound, divided by the longest time spent by any
worker in any segment.
|
boolean |
equals(Object obj) |
long |
generatedId()
Returns a unique, server-generated ID for the stage within its plan.
|
int |
hashCode() |
String |
name()
Returns a human-readable name for the stage.
|
double |
readRatioAvg()
Returns the time the average worker spent reading input data, divided by the longest time spent
by any worker in any segment.
|
double |
readRatioMax()
Returns the time the slowest worker spent reading input data, divided by the longest time spent
by any worker in any segment.
|
long |
recordsRead()
Returns the number of rows (top-level records) read by the stage.
|
long |
recordsWritten()
Returns the number of rows (top-level records) written by the stage.
|
List<QueryStage.QueryStep> |
steps()
Returns the list of steps within the stage in dependency order (approximately chronological).
|
String |
toString() |
double |
waitRatioAvg()
Returns the time the average worker spent waiting to be scheduled, divided by the longest time
spent by any worker in any segment.
|
double |
waitRatioMax()
Returns the time the slowest worker spent waiting to be scheduled, divided by the longest time
spent by any worker in any segment.
|
double |
writeRatioAvg()
Returns the time the average worker spent writing output data, divided by the longest time
spent by any worker in any segment.
|
double |
writeRatioMax()
Returns the time the slowest worker spent writing output data, divided by the longest time
spent by any worker in any segment.
|
public double computeRatioAvg()
public double computeRatioMax()
public long generatedId()
public String name()
public double readRatioAvg()
public double readRatioMax()
public long recordsRead()
public long recordsWritten()
public List<QueryStage.QueryStep> steps()
public double waitRatioAvg()
public double waitRatioMax()
public double writeRatioAvg()
public double writeRatioMax()
Copyright © 2016 Google. All rights reserved.