@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStage extends Object implements Serializable, Cloneable, StructuredPojo
Stage statistics such as input and output rows and bytes, execution time and stage state. This information also includes substages and the query stage plan.
Constructor and Description |
---|
QueryStage() |
Modifier and Type | Method and Description |
---|---|
QueryStage |
clone() |
boolean |
equals(Object obj) |
Long |
getExecutionTime()
Time taken to execute this stage.
|
Long |
getInputBytes()
The number of bytes input into the stage for execution.
|
Long |
getInputRows()
The number of rows input into the stage for execution.
|
Long |
getOutputBytes()
The number of bytes output from the stage after execution.
|
Long |
getOutputRows()
The number of rows output from the stage after execution.
|
QueryStagePlanNode |
getQueryStagePlan()
Stage plan information such as name, identifier, sub plans, and source stages.
|
Long |
getStageId()
The identifier for a stage.
|
String |
getState()
State of the stage after query execution.
|
List<QueryStage> |
getSubStages()
List of sub query stages that form this stage execution plan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExecutionTime(Long executionTime)
Time taken to execute this stage.
|
void |
setInputBytes(Long inputBytes)
The number of bytes input into the stage for execution.
|
void |
setInputRows(Long inputRows)
The number of rows input into the stage for execution.
|
void |
setOutputBytes(Long outputBytes)
The number of bytes output from the stage after execution.
|
void |
setOutputRows(Long outputRows)
The number of rows output from the stage after execution.
|
void |
setQueryStagePlan(QueryStagePlanNode queryStagePlan)
Stage plan information such as name, identifier, sub plans, and source stages.
|
void |
setStageId(Long stageId)
The identifier for a stage.
|
void |
setState(String state)
State of the stage after query execution.
|
void |
setSubStages(Collection<QueryStage> subStages)
List of sub query stages that form this stage execution plan.
|
String |
toString()
Returns a string representation of this object.
|
QueryStage |
withExecutionTime(Long executionTime)
Time taken to execute this stage.
|
QueryStage |
withInputBytes(Long inputBytes)
The number of bytes input into the stage for execution.
|
QueryStage |
withInputRows(Long inputRows)
The number of rows input into the stage for execution.
|
QueryStage |
withOutputBytes(Long outputBytes)
The number of bytes output from the stage after execution.
|
QueryStage |
withOutputRows(Long outputRows)
The number of rows output from the stage after execution.
|
QueryStage |
withQueryStagePlan(QueryStagePlanNode queryStagePlan)
Stage plan information such as name, identifier, sub plans, and source stages.
|
QueryStage |
withStageId(Long stageId)
The identifier for a stage.
|
QueryStage |
withState(String state)
State of the stage after query execution.
|
QueryStage |
withSubStages(Collection<QueryStage> subStages)
List of sub query stages that form this stage execution plan.
|
QueryStage |
withSubStages(QueryStage... subStages)
List of sub query stages that form this stage execution plan.
|
public void setStageId(Long stageId)
The identifier for a stage.
stageId
- The identifier for a stage.public Long getStageId()
The identifier for a stage.
public QueryStage withStageId(Long stageId)
The identifier for a stage.
stageId
- The identifier for a stage.public void setState(String state)
State of the stage after query execution.
state
- State of the stage after query execution.public String getState()
State of the stage after query execution.
public QueryStage withState(String state)
State of the stage after query execution.
state
- State of the stage after query execution.public void setOutputBytes(Long outputBytes)
The number of bytes output from the stage after execution.
outputBytes
- The number of bytes output from the stage after execution.public Long getOutputBytes()
The number of bytes output from the stage after execution.
public QueryStage withOutputBytes(Long outputBytes)
The number of bytes output from the stage after execution.
outputBytes
- The number of bytes output from the stage after execution.public void setOutputRows(Long outputRows)
The number of rows output from the stage after execution.
outputRows
- The number of rows output from the stage after execution.public Long getOutputRows()
The number of rows output from the stage after execution.
public QueryStage withOutputRows(Long outputRows)
The number of rows output from the stage after execution.
outputRows
- The number of rows output from the stage after execution.public void setInputBytes(Long inputBytes)
The number of bytes input into the stage for execution.
inputBytes
- The number of bytes input into the stage for execution.public Long getInputBytes()
The number of bytes input into the stage for execution.
public QueryStage withInputBytes(Long inputBytes)
The number of bytes input into the stage for execution.
inputBytes
- The number of bytes input into the stage for execution.public void setInputRows(Long inputRows)
The number of rows input into the stage for execution.
inputRows
- The number of rows input into the stage for execution.public Long getInputRows()
The number of rows input into the stage for execution.
public QueryStage withInputRows(Long inputRows)
The number of rows input into the stage for execution.
inputRows
- The number of rows input into the stage for execution.public void setExecutionTime(Long executionTime)
Time taken to execute this stage.
executionTime
- Time taken to execute this stage.public Long getExecutionTime()
Time taken to execute this stage.
public QueryStage withExecutionTime(Long executionTime)
Time taken to execute this stage.
executionTime
- Time taken to execute this stage.public void setQueryStagePlan(QueryStagePlanNode queryStagePlan)
Stage plan information such as name, identifier, sub plans, and source stages.
queryStagePlan
- Stage plan information such as name, identifier, sub plans, and source stages.public QueryStagePlanNode getQueryStagePlan()
Stage plan information such as name, identifier, sub plans, and source stages.
public QueryStage withQueryStagePlan(QueryStagePlanNode queryStagePlan)
Stage plan information such as name, identifier, sub plans, and source stages.
queryStagePlan
- Stage plan information such as name, identifier, sub plans, and source stages.public List<QueryStage> getSubStages()
List of sub query stages that form this stage execution plan.
public void setSubStages(Collection<QueryStage> subStages)
List of sub query stages that form this stage execution plan.
subStages
- List of sub query stages that form this stage execution plan.public QueryStage withSubStages(QueryStage... subStages)
List of sub query stages that form this stage execution plan.
NOTE: This method appends the values to the existing list (if any). Use
setSubStages(java.util.Collection)
or withSubStages(java.util.Collection)
if you want to
override the existing values.
subStages
- List of sub query stages that form this stage execution plan.public QueryStage withSubStages(Collection<QueryStage> subStages)
List of sub query stages that form this stage execution plan.
subStages
- List of sub query stages that form this stage execution plan.public String toString()
toString
in class Object
Object.toString()
public QueryStage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.