Interface QueryStage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueryStage.Builder,,QueryStage> SdkBuilder<QueryStage.Builder,,QueryStage> SdkPojo
- Enclosing class:
- QueryStage
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTime(Long executionTime) Time taken to execute this stage.inputBytes(Long inputBytes) The number of bytes input into the stage for execution.The number of rows input into the stage for execution.outputBytes(Long outputBytes) The number of bytes output from the stage after execution.outputRows(Long outputRows) The number of rows output from the stage after execution.default QueryStage.BuilderqueryStagePlan(Consumer<QueryStagePlanNode.Builder> queryStagePlan) Stage plan information such as name, identifier, sub plans, and source stages.queryStagePlan(QueryStagePlanNode queryStagePlan) Stage plan information such as name, identifier, sub plans, and source stages.The identifier for a stage.State of the stage after query execution.subStages(Collection<QueryStage> subStages) List of sub query stages that form this stage execution plan.subStages(Consumer<QueryStage.Builder>... subStages) List of sub query stages that form this stage execution plan.subStages(QueryStage... subStages) List of sub query stages that form this stage execution plan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
stageId
The identifier for a stage.
- Parameters:
stageId- The identifier for a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
State of the stage after query execution.
- Parameters:
state- State of the stage after query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputBytes
The number of bytes output from the stage after execution.
- Parameters:
outputBytes- The number of bytes output from the stage after execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputRows
The number of rows output from the stage after execution.
- Parameters:
outputRows- The number of rows output from the stage after execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputBytes
The number of bytes input into the stage for execution.
- Parameters:
inputBytes- The number of bytes input into the stage for execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputRows
The number of rows input into the stage for execution.
- Parameters:
inputRows- The number of rows input into the stage for execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTime
Time taken to execute this stage.
- Parameters:
executionTime- Time taken to execute this stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStagePlan
Stage plan information such as name, identifier, sub plans, and source stages.
- Parameters:
queryStagePlan- Stage plan information such as name, identifier, sub plans, and source stages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStagePlan
Stage plan information such as name, identifier, sub plans, and source stages.
This is a convenience method that creates an instance of theQueryStagePlanNode.Builderavoiding the need to create one manually viaQueryStagePlanNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryStagePlan(QueryStagePlanNode).- Parameters:
queryStagePlan- a consumer that will call methods onQueryStagePlanNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subStages
List of sub query stages that form this stage execution plan.
- Parameters:
subStages- List of sub query stages that form this stage execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subStages
List of sub query stages that form this stage execution plan.
- Parameters:
subStages- List of sub query stages that form this stage execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subStages
List of sub query stages that form this stage execution plan.
This is a convenience method that creates an instance of theQueryStage.Builderavoiding the need to create one manually viaQueryStage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubStages(List<QueryStage>).- Parameters:
subStages- a consumer that will call methods onQueryStage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-