@Generated(value="software.amazon.awssdk:codegen") public final class QueryStage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryStage.Builder,QueryStage>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QueryStage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QueryStage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
executionTime()
Time taken to execute this stage.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSubStages()
For responses, this returns true if the service returned a value for the SubStages property.
|
Long |
inputBytes()
The number of bytes input into the stage for execution.
|
Long |
inputRows()
The number of rows input into the stage for execution.
|
Long |
outputBytes()
The number of bytes output from the stage after execution.
|
Long |
outputRows()
The number of rows output from the stage after execution.
|
QueryStagePlanNode |
queryStagePlan()
Stage plan information such as name, identifier, sub plans, and source stages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QueryStage.Builder> |
serializableBuilderClass() |
Long |
stageId()
The identifier for a stage.
|
String |
state()
State of the stage after query execution.
|
List<QueryStage> |
subStages()
List of sub query stages that form this stage execution plan.
|
QueryStage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long stageId()
The identifier for a stage.
public final String state()
State of the stage after query execution.
public final Long outputBytes()
The number of bytes output from the stage after execution.
public final Long outputRows()
The number of rows output from the stage after execution.
public final Long inputBytes()
The number of bytes input into the stage for execution.
public final Long inputRows()
The number of rows input into the stage for execution.
public final Long executionTime()
Time taken to execute this stage.
public final QueryStagePlanNode queryStagePlan()
Stage plan information such as name, identifier, sub plans, and source stages.
public final boolean hasSubStages()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<QueryStage> subStages()
List of sub query stages that form this stage execution plan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubStages() method.
public QueryStage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QueryStage.Builder,QueryStage>public static QueryStage.Builder builder()
public static Class<? extends QueryStage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.