@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningTaskSqlExecutionPlanStep extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A step in the SQL execution plan.
Note: Objects should always be created or deserialized using the SqlTuningTaskSqlExecutionPlanStep.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the SqlTuningTaskSqlExecutionPlanStep.Builder
, which maintain a
set of all explicitly set fields called SqlTuningTaskSqlExecutionPlanStep.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlTuningTaskSqlExecutionPlanStep.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlTuningTaskSqlExecutionPlanStep(Long planHashValue,
Integer stepId,
Integer parentStepId,
Integer position,
String operation,
String options,
String optimizerMode,
Double cost,
Long cardinality,
Long bytes,
Double cpuCost,
Double ioCost,
Long tempSpace,
Long time,
String objectNode,
String objectOwner,
String objectName,
Integer objectPosition,
String objectType,
String partitionStart,
String partitionStop,
Integer partitionId,
String remarks,
Integer numberOfSearchColumn,
String other,
String otherTag,
String attribute,
String accessPredicates,
String filterPredicates)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlTuningTaskSqlExecutionPlanStep.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAccessPredicates()
The predicates used to locate rows in an access structure.
|
String |
getAttribute()
The text string identifying the type of execution plan.
|
Long |
getBytes()
The number of bytes returned by the current operation.
|
Long |
getCardinality()
The number of rows returned by the current operation (estimated by the CBO).
|
Double |
getCost()
The cost of the current operation estimated by the cost-based optimizer (CBO).
|
Double |
getCpuCost()
The CPU cost of the current operation.
|
String |
getFilterPredicates()
The predicates used to filter rows before producing them.
|
Double |
getIoCost()
The I/O cost of the current operation.
|
Integer |
getNumberOfSearchColumn()
Number of index columns with start and stop keys (that is, the number of columns with
matching predicates).
|
String |
getObjectName()
The name of the object.
|
String |
getObjectNode()
The name of the database link used to reference the object.
|
String |
getObjectOwner()
The owner of the object.
|
Integer |
getObjectPosition()
The numbered position of the object name in the original SQL statement.
|
String |
getObjectType()
The descriptive modifier that further describes the type of object.
|
String |
getOperation()
The name of the operation performed at this step.
|
String |
getOptimizerMode()
The current mode of the optimizer, such as all_rows, first_rows_n (where n = 1, 10, 100,
1000, and so on).
|
String |
getOptions()
The options used for the operation performed at this step.
|
String |
getOther()
Information about parallel execution servers and parallel queries
|
String |
getOtherTag()
Describes the function of the SQL text in the OTHER column.
|
Integer |
getParentStepId()
The ID of the next step that operates on the results of this step.
|
Integer |
getPartitionId()
The ID of the step in the execution plan that has computed the pair of values of
partitionStart and partitionStop.
|
String |
getPartitionStart()
A step may get data from a range of partitions of a partitioned object, such as table or
index, based on predicates and sorting order.
|
String |
getPartitionStop()
A step may get data from a range of partitions of a partitioned object, such as table or
index, based on predicates and sorting order.
|
Long |
getPlanHashValue()
The numerical representation of the SQL execution plan.
|
Integer |
getPosition()
The order of processing for steps with the same parent ID.
|
String |
getRemarks()
The place for comments that can be added to the steps of the execution plan.
|
Integer |
getStepId()
The identification number of a step in the SQL execution plan.
|
Long |
getTempSpace()
The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the
CBO.
|
Long |
getTime()
The elapsed time (in seconds) of the operation as estimated by the CBO.
|
int |
hashCode() |
SqlTuningTaskSqlExecutionPlanStep.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"planHashValue","stepId","parentStepId","position","operation","options","optimizerMode","cost","cardinality","bytes","cpuCost","ioCost","tempSpace","time","objectNode","objectOwner","objectName","objectPosition","objectType","partitionStart","partitionStop","partitionId","remarks","numberOfSearchColumn","other","otherTag","attribute","accessPredicates","filterPredicates"}) public SqlTuningTaskSqlExecutionPlanStep(Long planHashValue, Integer stepId, Integer parentStepId, Integer position, String operation, String options, String optimizerMode, Double cost, Long cardinality, Long bytes, Double cpuCost, Double ioCost, Long tempSpace, Long time, String objectNode, String objectOwner, String objectName, Integer objectPosition, String objectType, String partitionStart, String partitionStop, Integer partitionId, String remarks, Integer numberOfSearchColumn, String other, String otherTag, String attribute, String accessPredicates, String filterPredicates)
public static SqlTuningTaskSqlExecutionPlanStep.Builder builder()
Create a new builder.
public SqlTuningTaskSqlExecutionPlanStep.Builder toBuilder()
public Long getPlanHashValue()
The numerical representation of the SQL execution plan.
public Integer getStepId()
The identification number of a step in the SQL execution plan. This is unique within the SQL execution plan. This is not the OCID.
public Integer getParentStepId()
The ID of the next step that operates on the results of this step. This is not the OCID.
public Integer getPosition()
The order of processing for steps with the same parent ID.
public String getOperation()
The name of the operation performed at this step.
public String getOptions()
The options used for the operation performed at this step.
public String getOptimizerMode()
The current mode of the optimizer, such as all_rows, first_rows_n (where n = 1, 10, 100, 1000, and so on).
public Double getCost()
The cost of the current operation estimated by the cost-based optimizer (CBO).
public Long getCardinality()
The number of rows returned by the current operation (estimated by the CBO).
public Long getBytes()
The number of bytes returned by the current operation.
public Double getCpuCost()
The CPU cost of the current operation.
public Double getIoCost()
The I/O cost of the current operation.
public Long getTempSpace()
The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the CBO.
public Long getTime()
The elapsed time (in seconds) of the operation as estimated by the CBO.
public String getObjectNode()
The name of the database link used to reference the object.
public String getObjectOwner()
The owner of the object.
public String getObjectName()
The name of the object.
public Integer getObjectPosition()
The numbered position of the object name in the original SQL statement.
public String getObjectType()
The descriptive modifier that further describes the type of object.
public String getPartitionStart()
A step may get data from a range of partitions of a partitioned object, such as table or index, based on predicates and sorting order. The partionStart is the starting partition of the range. The partitionStop is the ending partition of the range.
public String getPartitionStop()
A step may get data from a range of partitions of a partitioned object, such as table or index, based on predicates and sorting order. The partionStart is the starting partition of the range. The partitionStop is the ending partition of the range.
public Integer getPartitionId()
The ID of the step in the execution plan that has computed the pair of values of partitionStart and partitionStop.
public String getRemarks()
The place for comments that can be added to the steps of the execution plan.
public Integer getNumberOfSearchColumn()
Number of index columns with start and stop keys (that is, the number of columns with matching predicates).
public String getOther()
Information about parallel execution servers and parallel queries
public String getOtherTag()
Describes the function of the SQL text in the OTHER column.
public String getAttribute()
The text string identifying the type of execution plan.
public String getAccessPredicates()
The predicates used to locate rows in an access structure. For example, start or stop predicates for an index range scan.
public String getFilterPredicates()
The predicates used to filter rows before producing them.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.