Class MySqlDataSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.MySqlDataSummary.Builder
 
- 
- Enclosing class:
- MySqlDataSummary
 
 public static class MySqlDataSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MySqlDataSummary.BuilderavgTimerWait(BigDecimal avgTimerWait)The average execution time.MySqlDataSummarybuild()MySqlDataSummary.Buildercopy(MySqlDataSummary model)MySqlDataSummary.BuildercountStar(BigDecimal countStar)The number Of times the query has been executed.MySqlDataSummary.Builderdigest(String digest)The digest information of the normalized query.MySqlDataSummary.BuilderdigestText(String digestText)The normalized query.MySqlDataSummary.BuilderfirstSeen(Date firstSeen)The date and time the query was first seen.MySqlDataSummary.BuilderheatWaveOffloaded(BigDecimal heatWaveOffloaded)The number of query executions offloaded to HeatWave.MySqlDataSummary.BuilderheatWaveOutOfMemory(BigDecimal heatWaveOutOfMemory)The number of query executions with HeatWave out-of-memory errors.MySqlDataSummary.BuilderlastSeen(Date lastSeen)The date and time the query was last seen.MySqlDataSummary.BuildermaxControlledMemory(Long maxControlledMemory)The maximum amount of controlled memory used by a statement during execution.MySqlDataSummary.BuildermaxTimerWait(BigDecimal maxTimerWait)The slowest the query has been executed.MySqlDataSummary.BuildermaxTotalMemory(Long maxTotalMemory)The maximum amount of memory used by a statement during execution.MySqlDataSummary.BuilderminTimerWait(BigDecimal minTimerWait)The fastest the query has been executed.MySqlDataSummary.Builderquantile95(BigDecimal quantile95)The 95th percentile of the query latency.MySqlDataSummary.Builderquantile99(BigDecimal quantile99)The 99th percentile of the query latency.MySqlDataSummary.Builderquantile999(BigDecimal quantile999)The 99.9th percentile of the query latency.MySqlDataSummary.BuilderschemaName(String schemaName)The name of the default schema when executing the query.MySqlDataSummary.BuildersumCpuTime(Long sumCpuTime)The total amount of time spent on CPU for this statement.MySqlDataSummary.BuildersumCreatedTempDiskTables(BigDecimal sumCreatedTempDiskTables)The total number of On-Disk internal temporary tables that have been created by the query.MySqlDataSummary.BuildersumCreatedTempTables(BigDecimal sumCreatedTempTables)The total number of internal temporary tables (in memory or on disk), which have been created by the query.MySqlDataSummary.BuildersumErrors(BigDecimal sumErrors)The total number of errors that have been encountered executing the query.MySqlDataSummary.BuildersumLockTime(BigDecimal sumLockTime)The total amount of time that has been spent waiting for table locks.MySqlDataSummary.BuildersumNoGoodIndexUsed(BigDecimal sumNoGoodIndexUsed)The total number of times no good index was used.MySqlDataSummary.BuildersumNoIndexUsed(BigDecimal sumNoIndexUsed)The total number of times no index was used to execute the query.MySqlDataSummary.BuildersumRowsAffected(BigDecimal sumRowsAffected)The total number of rows that have been modified by the query.MySqlDataSummary.BuildersumRowsExamined(BigDecimal sumRowsExamined)The total number of rows that have been examined by the query.MySqlDataSummary.BuildersumRowsSent(BigDecimal sumRowsSent)The total number of rows that have been returned (sent) to the client.MySqlDataSummary.BuildersumSelectFullJoin(BigDecimal sumSelectFullJoin)The total number of joins that have performed full table scans as there was no join condition or no index for the join condition.MySqlDataSummary.BuildersumSelectFullRangeJoin(BigDecimal sumSelectFullRangeJoin)The total number of joins that use a full range search.MySqlDataSummary.BuildersumSelectRange(BigDecimal sumSelectRange)The total number of times the query has used a range search.MySqlDataSummary.BuildersumSelectRangeCheck(BigDecimal sumSelectRangeCheck)The total number of joins by the query where the join does not have an index that checks for the index usage after each row.MySqlDataSummary.BuildersumSelectScan(BigDecimal sumSelectScan)The total number of times the query has performed a full table scan on the first table in the join.MySqlDataSummary.BuildersumSortMergePasses(BigDecimal sumSortMergePasses)The total number of sort merge passes that have been done to sort the result of the query.MySqlDataSummary.BuildersumSortRange(BigDecimal sumSortRange)The total number of times a sort was done using ranges.MySqlDataSummary.BuildersumSortRows(BigDecimal sumSortRows)The total number of rows sorted.MySqlDataSummary.BuildersumSortScan(BigDecimal sumSortScan)The total number of times a sort was done by scanning the table.MySqlDataSummary.BuildersumTimerWait(BigDecimal sumTimerWait)The total amount of time that has been spent executing the query.MySqlDataSummary.BuildersumWarnings(BigDecimal sumWarnings)The total number of warnings that have been encountered executing the query.
 
- 
- 
- 
Method Detail- 
schemaNamepublic MySqlDataSummary.Builder schemaName(String schemaName) The name of the default schema when executing the query.If a schema is not set as the default, then the value is NULL. - Parameters:
- schemaName- the value to set
- Returns:
- this builder
 
 - 
digestpublic MySqlDataSummary.Builder digest(String digest) The digest information of the normalized query.- Parameters:
- digest- the value to set
- Returns:
- this builder
 
 - 
digestTextpublic MySqlDataSummary.Builder digestText(String digestText) The normalized query.- Parameters:
- digestText- the value to set
- Returns:
- this builder
 
 - 
countStarpublic MySqlDataSummary.Builder countStar(BigDecimal countStar) The number Of times the query has been executed.- Parameters:
- countStar- the value to set
- Returns:
- this builder
 
 - 
sumTimerWaitpublic MySqlDataSummary.Builder sumTimerWait(BigDecimal sumTimerWait) The total amount of time that has been spent executing the query.- Parameters:
- sumTimerWait- the value to set
- Returns:
- this builder
 
 - 
minTimerWaitpublic MySqlDataSummary.Builder minTimerWait(BigDecimal minTimerWait) The fastest the query has been executed.- Parameters:
- minTimerWait- the value to set
- Returns:
- this builder
 
 - 
avgTimerWaitpublic MySqlDataSummary.Builder avgTimerWait(BigDecimal avgTimerWait) The average execution time.- Parameters:
- avgTimerWait- the value to set
- Returns:
- this builder
 
 - 
maxTimerWaitpublic MySqlDataSummary.Builder maxTimerWait(BigDecimal maxTimerWait) The slowest the query has been executed.- Parameters:
- maxTimerWait- the value to set
- Returns:
- this builder
 
 - 
maxControlledMemorypublic MySqlDataSummary.Builder maxControlledMemory(Long maxControlledMemory) The maximum amount of controlled memory used by a statement during execution.- Parameters:
- maxControlledMemory- the value to set
- Returns:
- this builder
 
 - 
maxTotalMemorypublic MySqlDataSummary.Builder maxTotalMemory(Long maxTotalMemory) The maximum amount of memory used by a statement during execution.- Parameters:
- maxTotalMemory- the value to set
- Returns:
- this builder
 
 - 
sumCpuTimepublic MySqlDataSummary.Builder sumCpuTime(Long sumCpuTime) The total amount of time spent on CPU for this statement.- Parameters:
- sumCpuTime- the value to set
- Returns:
- this builder
 
 - 
sumLockTimepublic MySqlDataSummary.Builder sumLockTime(BigDecimal sumLockTime) The total amount of time that has been spent waiting for table locks.- Parameters:
- sumLockTime- the value to set
- Returns:
- this builder
 
 - 
sumErrorspublic MySqlDataSummary.Builder sumErrors(BigDecimal sumErrors) The total number of errors that have been encountered executing the query.- Parameters:
- sumErrors- the value to set
- Returns:
- this builder
 
 - 
sumWarningspublic MySqlDataSummary.Builder sumWarnings(BigDecimal sumWarnings) The total number of warnings that have been encountered executing the query.- Parameters:
- sumWarnings- the value to set
- Returns:
- this builder
 
 - 
sumRowsAffectedpublic MySqlDataSummary.Builder sumRowsAffected(BigDecimal sumRowsAffected) The total number of rows that have been modified by the query.- Parameters:
- sumRowsAffected- the value to set
- Returns:
- this builder
 
 - 
sumRowsSentpublic MySqlDataSummary.Builder sumRowsSent(BigDecimal sumRowsSent) The total number of rows that have been returned (sent) to the client.- Parameters:
- sumRowsSent- the value to set
- Returns:
- this builder
 
 - 
sumRowsExaminedpublic MySqlDataSummary.Builder sumRowsExamined(BigDecimal sumRowsExamined) The total number of rows that have been examined by the query.- Parameters:
- sumRowsExamined- the value to set
- Returns:
- this builder
 
 - 
sumCreatedTempDiskTablespublic MySqlDataSummary.Builder sumCreatedTempDiskTables(BigDecimal sumCreatedTempDiskTables) The total number of On-Disk internal temporary tables that have been created by the query.- Parameters:
- sumCreatedTempDiskTables- the value to set
- Returns:
- this builder
 
 - 
sumCreatedTempTablespublic MySqlDataSummary.Builder sumCreatedTempTables(BigDecimal sumCreatedTempTables) The total number of internal temporary tables (in memory or on disk), which have been created by the query.- Parameters:
- sumCreatedTempTables- the value to set
- Returns:
- this builder
 
 - 
sumSelectFullJoinpublic MySqlDataSummary.Builder sumSelectFullJoin(BigDecimal sumSelectFullJoin) The total number of joins that have performed full table scans as there was no join condition or no index for the join condition.This is the same as the select_full_join status variable. - Parameters:
- sumSelectFullJoin- the value to set
- Returns:
- this builder
 
 - 
sumSelectFullRangeJoinpublic MySqlDataSummary.Builder sumSelectFullRangeJoin(BigDecimal sumSelectFullRangeJoin) The total number of joins that use a full range search.This is the same as the select_full_range_join status variable. - Parameters:
- sumSelectFullRangeJoin- the value to set
- Returns:
- this builder
 
 - 
sumSelectRangepublic MySqlDataSummary.Builder sumSelectRange(BigDecimal sumSelectRange) The total number of times the query has used a range search.This is the same as the select_range status variable. - Parameters:
- sumSelectRange- the value to set
- Returns:
- this builder
 
 - 
sumSelectRangeCheckpublic MySqlDataSummary.Builder sumSelectRangeCheck(BigDecimal sumSelectRangeCheck) The total number of joins by the query where the join does not have an index that checks for the index usage after each row.This is the same as the select_range_check status variable. - Parameters:
- sumSelectRangeCheck- the value to set
- Returns:
- this builder
 
 - 
sumSelectScanpublic MySqlDataSummary.Builder sumSelectScan(BigDecimal sumSelectScan) The total number of times the query has performed a full table scan on the first table in the join.This is the same as the select_scan status variable. - Parameters:
- sumSelectScan- the value to set
- Returns:
- this builder
 
 - 
sumSortMergePassespublic MySqlDataSummary.Builder sumSortMergePasses(BigDecimal sumSortMergePasses) The total number of sort merge passes that have been done to sort the result of the query.This is the same as the sort_merge_passes status variable. - Parameters:
- sumSortMergePasses- the value to set
- Returns:
- this builder
 
 - 
sumSortRangepublic MySqlDataSummary.Builder sumSortRange(BigDecimal sumSortRange) The total number of times a sort was done using ranges.This is the same as the sort_range status variable. - Parameters:
- sumSortRange- the value to set
- Returns:
- this builder
 
 - 
sumSortRowspublic MySqlDataSummary.Builder sumSortRows(BigDecimal sumSortRows) The total number of rows sorted.This is the same as the sort_rowsStatus variable. - Parameters:
- sumSortRows- the value to set
- Returns:
- this builder
 
 - 
sumSortScanpublic MySqlDataSummary.Builder sumSortScan(BigDecimal sumSortScan) The total number of times a sort was done by scanning the table.This is the same as the sort_scan status variable. - Parameters:
- sumSortScan- the value to set
- Returns:
- this builder
 
 - 
sumNoIndexUsedpublic MySqlDataSummary.Builder sumNoIndexUsed(BigDecimal sumNoIndexUsed) The total number of times no index was used to execute the query.- Parameters:
- sumNoIndexUsed- the value to set
- Returns:
- this builder
 
 - 
sumNoGoodIndexUsedpublic MySqlDataSummary.Builder sumNoGoodIndexUsed(BigDecimal sumNoGoodIndexUsed) The total number of times no good index was used.This means that the extra column in The EXPLAIN output includes \u201cRange Checked For Each Record.\u201d - Parameters:
- sumNoGoodIndexUsed- the value to set
- Returns:
- this builder
 
 - 
firstSeenpublic MySqlDataSummary.Builder firstSeen(Date firstSeen) The date and time the query was first seen.If the table is truncated, the first seen value is reset. - Parameters:
- firstSeen- the value to set
- Returns:
- this builder
 
 - 
lastSeenpublic MySqlDataSummary.Builder lastSeen(Date lastSeen) The date and time the query was last seen.- Parameters:
- lastSeen- the value to set
- Returns:
- this builder
 
 - 
quantile95public MySqlDataSummary.Builder quantile95(BigDecimal quantile95) The 95th percentile of the query latency.That is, 95% of the queries complete in the time given or in less time. - Parameters:
- quantile95- the value to set
- Returns:
- this builder
 
 - 
quantile99public MySqlDataSummary.Builder quantile99(BigDecimal quantile99) The 99th percentile of the query latency.- Parameters:
- quantile99- the value to set
- Returns:
- this builder
 
 - 
quantile999public MySqlDataSummary.Builder quantile999(BigDecimal quantile999) The 99.9th percentile of the query latency.- Parameters:
- quantile999- the value to set
- Returns:
- this builder
 
 - 
heatWaveOffloadedpublic MySqlDataSummary.Builder heatWaveOffloaded(BigDecimal heatWaveOffloaded) The number of query executions offloaded to HeatWave.- Parameters:
- heatWaveOffloaded- the value to set
- Returns:
- this builder
 
 - 
heatWaveOutOfMemorypublic MySqlDataSummary.Builder heatWaveOutOfMemory(BigDecimal heatWaveOutOfMemory) The number of query executions with HeatWave out-of-memory errors.- Parameters:
- heatWaveOutOfMemory- the value to set
- Returns:
- this builder
 
 - 
buildpublic MySqlDataSummary build() 
 - 
copypublic MySqlDataSummary.Builder copy(MySqlDataSummary model) 
 
- 
 
-