public static class OptimizerStatisticsCollectionOperation.Builder extends Object
Constructor and Description |
---|
Builder() |
public OptimizerStatisticsCollectionOperation.Builder database(OptimizerDatabase database)
public OptimizerStatisticsCollectionOperation.Builder tasks(List<OptimizerStatisticsOperationTask> tasks)
An array of Optimizer Statistics Collection task details.
tasks
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder id(Integer id)
The ID of the operation.
id
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder operationName(String operationName)
The name of the operation.
operationName
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder target(String target)
The target object type such as Table, Index, and Partition.
target
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder jobName(String jobName)
The name of the job.
jobName
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder status(OptimizerStatisticsCollectionOperation.Status status)
The status of the operation such as Completed, and Failed.
status
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder startTime(String startTime)
The start time of the operation.
startTime
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder endTime(String endTime)
The end time of the operation.
endTime
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder durationInSeconds(BigDecimal durationInSeconds)
The time it takes to complete the operation (in seconds).
durationInSeconds
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder completedCount(Integer completedCount)
The number of objects for which statistics collection is completed.
completedCount
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder inProgressCount(Integer inProgressCount)
The number of objects for which statistics collection is in progress.
inProgressCount
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder failedCount(Integer failedCount)
The number of objects for which statistics collection failed.
failedCount
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder timedOutCount(Integer timedOutCount)
The number of objects for which statistics collection timed out.
timedOutCount
- the value to setpublic OptimizerStatisticsCollectionOperation.Builder totalObjectsCount(Integer totalObjectsCount)
The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
totalObjectsCount
- the value to setpublic OptimizerStatisticsCollectionOperation build()
public OptimizerStatisticsCollectionOperation.Builder copy(OptimizerStatisticsCollectionOperation model)
Copyright © 2016–2024. All rights reserved.