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 |
---|---|
boolean |
equals(Object obj) |
long |
getCompletedParallelInputs()
Returns the number of parallel input segments completed.
|
long |
getComputeMsAvg()
Returns the time in milliseconds the average worker spent on CPU-bound tasks.
|
long |
getComputeMsMax()
Returns the time in milliseconds the slowest worker spent on CPU-bound tasks.
|
double |
getComputeRatioAvg()
Returns the time the average worker spent CPU-bound, divided by the longest time spent by any
worker in any segment.
|
double |
getComputeRatioMax()
Returns the time the slowest worker spent CPU-bound, divided by the longest time spent by any
worker in any segment.
|
long |
getEndMs()
Returns the stage end time represented as milliseconds since epoch.
|
long |
getGeneratedId()
Returns a unique, server-generated ID for the stage within its plan.
|
List<Long> |
getInputStages()
Returns a list of the stage IDs that are inputs to this stage.
|
String |
getName()
Returns a human-readable name for the stage.
|
long |
getParallelInputs()
Returns the number of parallel input segments to be processed.
|
long |
getReadMsAvg()
Returns the time in milliseconds the average worker spent reading input.
|
long |
getReadMsMax()
Returns the time in milliseconds the slowest worker spent reading input.
|
double |
getReadRatioAvg()
Returns the time the average worker spent reading input data, divided by the longest time spent
by any worker in any segment.
|
double |
getReadRatioMax()
Returns the time the slowest worker spent reading input data, divided by the longest time spent
by any worker in any segment.
|
long |
getRecordsRead()
Returns the number of rows (top-level records) read by the stage.
|
long |
getRecordsWritten()
Returns the number of rows (top-level records) written by the stage.
|
long |
getShuffleOutputBytes()
Returns the total number of bytes written to shuffle.
|
long |
getShuffleOutputBytesSpilled()
Returns the total number of bytes writtedn to shuffle and spilled to disk.
|
long |
getStartMs()
Returns the stage start time represented as milliseconds since epoch.
|
String |
getStatus()
Returns the current status for the stage.
|
List<QueryStage.QueryStep> |
getSteps()
Returns the list of steps within the stage in dependency order (approximately chronological).
|
long |
getWaitMsAvg()
Returns the time in milliseconds the average worker spent waiting to be scheduled.
|
long |
getWaitMsMax()
Returns the time in milliseconds the slowest worker spent waiting to be scheduled.
|
double |
getWaitRatioAvg()
Returns the time the average worker spent waiting to be scheduled, divided by the longest time
spent by any worker in any segment.
|
double |
getWaitRatioMax()
Returns the time the slowest worker spent waiting to be scheduled, divided by the longest time
spent by any worker in any segment.
|
long |
getWriteMsAvg()
Returns the time in milliseconds the average worker spent writing output.
|
long |
getWriteMsMax()
Returns the time in milliseconds the slowest worker spent writing output.
|
double |
getWriteRatioAvg()
Returns the time the average worker spent writing output data, divided by the longest time
spent by any worker in any segment.
|
double |
getWriteRatioMax()
Returns the time the slowest worker spent writing output data, divided by the longest time
spent by any worker in any segment.
|
int |
hashCode() |
String |
toString() |
public long getCompletedParallelInputs()
public long getComputeMsAvg()
public long getComputeMsMax()
public double getComputeRatioAvg()
public double getComputeRatioMax()
public long getEndMs()
public long getGeneratedId()
public List<Long> getInputStages()
public String getName()
public long getParallelInputs()
public long getReadMsAvg()
public long getReadMsMax()
public double getReadRatioAvg()
public double getReadRatioMax()
public long getRecordsRead()
public long getRecordsWritten()
public long getShuffleOutputBytes()
public long getShuffleOutputBytesSpilled()
public long getStartMs()
public String getStatus()
public List<QueryStage.QueryStep> getSteps()
public long getWaitMsAvg()
public long getWaitMsMax()
public double getWaitRatioAvg()
public double getWaitRatioMax()
public long getWriteMsAvg()
public long getWriteMsMax()
public double getWriteRatioAvg()
public double getWriteRatioMax()
Copyright © 2019 Google LLC. All rights reserved.