Class SqlTuningTaskSqlExecutionPlanStep.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningTaskSqlExecutionPlanStep.Builder
-
- Enclosing class:
- SqlTuningTaskSqlExecutionPlanStep
public static class SqlTuningTaskSqlExecutionPlanStep.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningTaskSqlExecutionPlanStep.BuilderaccessPredicates(String accessPredicates)The predicates used to locate rows in an access structure.SqlTuningTaskSqlExecutionPlanStep.Builderattribute(String attribute)The text string identifying the type of execution plan.SqlTuningTaskSqlExecutionPlanStepbuild()SqlTuningTaskSqlExecutionPlanStep.Builderbytes(Long bytes)The number of bytes returned by the current operation.SqlTuningTaskSqlExecutionPlanStep.Buildercardinality(Long cardinality)The number of rows returned by the current operation (estimated by the CBO).SqlTuningTaskSqlExecutionPlanStep.Buildercopy(SqlTuningTaskSqlExecutionPlanStep model)SqlTuningTaskSqlExecutionPlanStep.Buildercost(Double cost)The cost of the current operation estimated by the cost-based optimizer (CBO).SqlTuningTaskSqlExecutionPlanStep.BuildercpuCost(Double cpuCost)The CPU cost of the current operation.SqlTuningTaskSqlExecutionPlanStep.BuilderfilterPredicates(String filterPredicates)The predicates used to filter rows before producing them.SqlTuningTaskSqlExecutionPlanStep.BuilderioCost(Double ioCost)The I/O cost of the current operation.SqlTuningTaskSqlExecutionPlanStep.BuildernumberOfSearchColumn(Integer numberOfSearchColumn)Number of index columns with start and stop keys (that is, the number of columns with matching predicates).SqlTuningTaskSqlExecutionPlanStep.BuilderobjectName(String objectName)The name of the object.SqlTuningTaskSqlExecutionPlanStep.BuilderobjectNode(String objectNode)The name of the database link used to reference the object.SqlTuningTaskSqlExecutionPlanStep.BuilderobjectOwner(String objectOwner)The owner of the object.SqlTuningTaskSqlExecutionPlanStep.BuilderobjectPosition(Integer objectPosition)The numbered position of the object name in the original SQL statement.SqlTuningTaskSqlExecutionPlanStep.BuilderobjectType(String objectType)The descriptive modifier that further describes the type of object.SqlTuningTaskSqlExecutionPlanStep.Builderoperation(String operation)The name of the operation performed at this step.SqlTuningTaskSqlExecutionPlanStep.BuilderoptimizerMode(String optimizerMode)The current mode of the optimizer, such as all_rows, first_rows_n (where n = 1, 10, 100, 1000, and so on).SqlTuningTaskSqlExecutionPlanStep.Builderoptions(String options)The options used for the operation performed at this step.SqlTuningTaskSqlExecutionPlanStep.Builderother(String other)Information about parallel execution servers and parallel queriesSqlTuningTaskSqlExecutionPlanStep.BuilderotherTag(String otherTag)Describes the function of the SQL text in the OTHER column.SqlTuningTaskSqlExecutionPlanStep.BuilderparentStepId(Integer parentStepId)The ID of the next step that operates on the results of this step.SqlTuningTaskSqlExecutionPlanStep.BuilderpartitionId(Integer partitionId)The ID of the step in the execution plan that has computed the pair of values of partitionStart and partitionStop.SqlTuningTaskSqlExecutionPlanStep.BuilderpartitionStart(String partitionStart)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.SqlTuningTaskSqlExecutionPlanStep.BuilderpartitionStop(String partitionStop)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.SqlTuningTaskSqlExecutionPlanStep.BuilderplanHashValue(Long planHashValue)The numerical representation of the SQL execution plan.SqlTuningTaskSqlExecutionPlanStep.Builderposition(Integer position)The order of processing for steps with the same parent ID.SqlTuningTaskSqlExecutionPlanStep.Builderremarks(String remarks)The place for comments that can be added to the steps of the execution plan.SqlTuningTaskSqlExecutionPlanStep.BuilderstepId(Integer stepId)The identification number of a step in the SQL execution plan.SqlTuningTaskSqlExecutionPlanStep.BuildertempSpace(Long tempSpace)The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the CBO.SqlTuningTaskSqlExecutionPlanStep.Buildertime(Long time)The elapsed time (in seconds) of the operation as estimated by the CBO.
-
-
-
Method Detail
-
planHashValue
public SqlTuningTaskSqlExecutionPlanStep.Builder planHashValue(Long planHashValue)
The numerical representation of the SQL execution plan.- Parameters:
planHashValue- the value to set- Returns:
- this builder
-
stepId
public SqlTuningTaskSqlExecutionPlanStep.Builder stepId(Integer stepId)
The identification number of a step in the SQL execution plan.This is unique within the SQL execution plan. This is not the OCID.
- Parameters:
stepId- the value to set- Returns:
- this builder
-
parentStepId
public SqlTuningTaskSqlExecutionPlanStep.Builder parentStepId(Integer parentStepId)
The ID of the next step that operates on the results of this step.This is not the OCID.
- Parameters:
parentStepId- the value to set- Returns:
- this builder
-
position
public SqlTuningTaskSqlExecutionPlanStep.Builder position(Integer position)
The order of processing for steps with the same parent ID.- Parameters:
position- the value to set- Returns:
- this builder
-
operation
public SqlTuningTaskSqlExecutionPlanStep.Builder operation(String operation)
The name of the operation performed at this step.- Parameters:
operation- the value to set- Returns:
- this builder
-
options
public SqlTuningTaskSqlExecutionPlanStep.Builder options(String options)
The options used for the operation performed at this step.- Parameters:
options- the value to set- Returns:
- this builder
-
optimizerMode
public SqlTuningTaskSqlExecutionPlanStep.Builder optimizerMode(String optimizerMode)
The current mode of the optimizer, such as all_rows, first_rows_n (where n = 1, 10, 100, 1000, and so on).- Parameters:
optimizerMode- the value to set- Returns:
- this builder
-
cost
public SqlTuningTaskSqlExecutionPlanStep.Builder cost(Double cost)
The cost of the current operation estimated by the cost-based optimizer (CBO).- Parameters:
cost- the value to set- Returns:
- this builder
-
cardinality
public SqlTuningTaskSqlExecutionPlanStep.Builder cardinality(Long cardinality)
The number of rows returned by the current operation (estimated by the CBO).- Parameters:
cardinality- the value to set- Returns:
- this builder
-
bytes
public SqlTuningTaskSqlExecutionPlanStep.Builder bytes(Long bytes)
The number of bytes returned by the current operation.- Parameters:
bytes- the value to set- Returns:
- this builder
-
cpuCost
public SqlTuningTaskSqlExecutionPlanStep.Builder cpuCost(Double cpuCost)
The CPU cost of the current operation.- Parameters:
cpuCost- the value to set- Returns:
- this builder
-
ioCost
public SqlTuningTaskSqlExecutionPlanStep.Builder ioCost(Double ioCost)
The I/O cost of the current operation.- Parameters:
ioCost- the value to set- Returns:
- this builder
-
tempSpace
public SqlTuningTaskSqlExecutionPlanStep.Builder tempSpace(Long tempSpace)
The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the CBO.- Parameters:
tempSpace- the value to set- Returns:
- this builder
-
time
public SqlTuningTaskSqlExecutionPlanStep.Builder time(Long time)
The elapsed time (in seconds) of the operation as estimated by the CBO.- Parameters:
time- the value to set- Returns:
- this builder
-
objectNode
public SqlTuningTaskSqlExecutionPlanStep.Builder objectNode(String objectNode)
The name of the database link used to reference the object.- Parameters:
objectNode- the value to set- Returns:
- this builder
-
objectOwner
public SqlTuningTaskSqlExecutionPlanStep.Builder objectOwner(String objectOwner)
The owner of the object.- Parameters:
objectOwner- the value to set- Returns:
- this builder
-
objectName
public SqlTuningTaskSqlExecutionPlanStep.Builder objectName(String objectName)
The name of the object.- Parameters:
objectName- the value to set- Returns:
- this builder
-
objectPosition
public SqlTuningTaskSqlExecutionPlanStep.Builder objectPosition(Integer objectPosition)
The numbered position of the object name in the original SQL statement.- Parameters:
objectPosition- the value to set- Returns:
- this builder
-
objectType
public SqlTuningTaskSqlExecutionPlanStep.Builder objectType(String objectType)
The descriptive modifier that further describes the type of object.- Parameters:
objectType- the value to set- Returns:
- this builder
-
partitionStart
public SqlTuningTaskSqlExecutionPlanStep.Builder partitionStart(String partitionStart)
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.
- Parameters:
partitionStart- the value to set- Returns:
- this builder
-
partitionStop
public SqlTuningTaskSqlExecutionPlanStep.Builder partitionStop(String partitionStop)
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.
- Parameters:
partitionStop- the value to set- Returns:
- this builder
-
partitionId
public SqlTuningTaskSqlExecutionPlanStep.Builder partitionId(Integer partitionId)
The ID of the step in the execution plan that has computed the pair of values of partitionStart and partitionStop.- Parameters:
partitionId- the value to set- Returns:
- this builder
-
remarks
public SqlTuningTaskSqlExecutionPlanStep.Builder remarks(String remarks)
The place for comments that can be added to the steps of the execution plan.- Parameters:
remarks- the value to set- Returns:
- this builder
-
numberOfSearchColumn
public SqlTuningTaskSqlExecutionPlanStep.Builder numberOfSearchColumn(Integer numberOfSearchColumn)
Number of index columns with start and stop keys (that is, the number of columns with matching predicates).- Parameters:
numberOfSearchColumn- the value to set- Returns:
- this builder
-
other
public SqlTuningTaskSqlExecutionPlanStep.Builder other(String other)
Information about parallel execution servers and parallel queries- Parameters:
other- the value to set- Returns:
- this builder
-
otherTag
public SqlTuningTaskSqlExecutionPlanStep.Builder otherTag(String otherTag)
Describes the function of the SQL text in the OTHER column.- Parameters:
otherTag- the value to set- Returns:
- this builder
-
attribute
public SqlTuningTaskSqlExecutionPlanStep.Builder attribute(String attribute)
The text string identifying the type of execution plan.- Parameters:
attribute- the value to set- Returns:
- this builder
-
accessPredicates
public SqlTuningTaskSqlExecutionPlanStep.Builder accessPredicates(String accessPredicates)
The predicates used to locate rows in an access structure.For example, start or stop predicates for an index range scan.
- Parameters:
accessPredicates- the value to set- Returns:
- this builder
-
filterPredicates
public SqlTuningTaskSqlExecutionPlanStep.Builder filterPredicates(String filterPredicates)
The predicates used to filter rows before producing them.- Parameters:
filterPredicates- the value to set- Returns:
- this builder
-
build
public SqlTuningTaskSqlExecutionPlanStep build()
-
copy
public SqlTuningTaskSqlExecutionPlanStep.Builder copy(SqlTuningTaskSqlExecutionPlanStep model)
-
-