Class SqlPlanBaselineSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.SqlPlanBaselineSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlPlanBaselineSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of a SQL plan baseline.
 Note: Objects should always be created or deserialized using theSqlPlanBaselineSummary.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 theSqlPlanBaselineSummary.Builder, which maintain a set of all explicitly set fields calledSqlPlanBaselineSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSqlPlanBaselineSummary.AcceptedIndicates whether the plan baseline is accepted (YES) or not (NO).static classSqlPlanBaselineSummary.AdaptiveIndicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.static classSqlPlanBaselineSummary.AutoPurgeIndicates whether the plan baseline is auto-purged (YES) or not (NO).static classSqlPlanBaselineSummary.Builderstatic classSqlPlanBaselineSummary.EnabledIndicates whether the plan baseline is enabled (YES) or disabled (NO).static classSqlPlanBaselineSummary.FixedIndicates whether the plan baseline is fixed (YES) or not (NO).static classSqlPlanBaselineSummary.ReproducedIndicates whether the optimizer was able to reproduce the plan (YES) or not ( NO).
 - 
Constructor SummaryConstructors Constructor Description SqlPlanBaselineSummary(String planName, String sqlHandle, String sqlText, SqlPlanBaselineOrigin origin, Date timeCreated, Date timeLastModified, Date timeLastExecuted, SqlPlanBaselineSummary.Enabled enabled, SqlPlanBaselineSummary.Accepted accepted, SqlPlanBaselineSummary.Fixed fixed, SqlPlanBaselineSummary.Reproduced reproduced, SqlPlanBaselineSummary.AutoPurge autoPurge, SqlPlanBaselineSummary.Adaptive adaptive)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlPlanBaselineSummary.Builderbuilder()Create a new builder.booleanequals(Object o)SqlPlanBaselineSummary.AcceptedgetAccepted()Indicates whether the plan baseline is accepted (YES) or not (NO).SqlPlanBaselineSummary.AdaptivegetAdaptive()Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.SqlPlanBaselineSummary.AutoPurgegetAutoPurge()Indicates whether the plan baseline is auto-purged (YES) or not (NO).SqlPlanBaselineSummary.EnabledgetEnabled()Indicates whether the plan baseline is enabled (YES) or disabled (NO).SqlPlanBaselineSummary.FixedgetFixed()Indicates whether the plan baseline is fixed (YES) or not (NO).SqlPlanBaselineOrigingetOrigin()The origin of the SQL plan baseline.StringgetPlanName()The unique plan identifier.SqlPlanBaselineSummary.ReproducedgetReproduced()Indicates whether the optimizer was able to reproduce the plan (YES) or not ( NO).StringgetSqlHandle()The unique SQL identifier.StringgetSqlText()The SQL text (truncated to the first 50 characters).DategetTimeCreated()The date and time when the plan baseline was created.DategetTimeLastExecuted()The date and time when the plan baseline was last executed.DategetTimeLastModified()The date and time when the plan baseline was last modified.inthashCode()SqlPlanBaselineSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SqlPlanBaselineSummary@Deprecated @ConstructorProperties({"planName","sqlHandle","sqlText","origin","timeCreated","timeLastModified","timeLastExecuted","enabled","accepted","fixed","reproduced","autoPurge","adaptive"}) public SqlPlanBaselineSummary(String planName, String sqlHandle, String sqlText, SqlPlanBaselineOrigin origin, Date timeCreated, Date timeLastModified, Date timeLastExecuted, SqlPlanBaselineSummary.Enabled enabled, SqlPlanBaselineSummary.Accepted accepted, SqlPlanBaselineSummary.Fixed fixed, SqlPlanBaselineSummary.Reproduced reproduced, SqlPlanBaselineSummary.AutoPurge autoPurge, SqlPlanBaselineSummary.Adaptive adaptive) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SqlPlanBaselineSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic SqlPlanBaselineSummary.Builder toBuilder() 
 - 
getPlanNamepublic String getPlanName() The unique plan identifier.- Returns:
- the value
 
 - 
getSqlHandlepublic String getSqlHandle() The unique SQL identifier.- Returns:
- the value
 
 - 
getSqlTextpublic String getSqlText() The SQL text (truncated to the first 50 characters).- Returns:
- the value
 
 - 
getOriginpublic SqlPlanBaselineOrigin getOrigin() The origin of the SQL plan baseline.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time when the plan baseline was created.- Returns:
- the value
 
 - 
getTimeLastModifiedpublic Date getTimeLastModified() The date and time when the plan baseline was last modified.- Returns:
- the value
 
 - 
getTimeLastExecutedpublic Date getTimeLastExecuted() The date and time when the plan baseline was last executed.*Note:** For performance reasons, database does not update this value immediately after each execution of the plan baseline. Therefore, the plan baseline may have been executed more recently than this value indicates. - Returns:
- the value
 
 - 
getEnabledpublic SqlPlanBaselineSummary.Enabled getEnabled() Indicates whether the plan baseline is enabled (YES) or disabled (NO).- Returns:
- the value
 
 - 
getAcceptedpublic SqlPlanBaselineSummary.Accepted getAccepted() Indicates whether the plan baseline is accepted (YES) or not (NO).- Returns:
- the value
 
 - 
getFixedpublic SqlPlanBaselineSummary.Fixed getFixed() Indicates whether the plan baseline is fixed (YES) or not (NO).- Returns:
- the value
 
 - 
getReproducedpublic SqlPlanBaselineSummary.Reproduced getReproduced() Indicates whether the optimizer was able to reproduce the plan (YES) or not ( NO).The value is set to YES when a plan is initially added to the plan baseline. - Returns:
- the value
 
 - 
getAutoPurgepublic SqlPlanBaselineSummary.AutoPurge getAutoPurge() Indicates whether the plan baseline is auto-purged (YES) or not (NO).- Returns:
- the value
 
 - 
getAdaptivepublic SqlPlanBaselineSummary.Adaptive getAdaptive() Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.When a new adaptive plan is found for a SQL statement that has an existing SQL plan baseline, that new plan will be added to the SQL plan baseline as an unaccepted plan, and the ADAPTIVE property will be marked YES. When this new plan is verified (either manually or via the auto evolve task), the plan will be test executed and the final plan determined at execution will become an accepted plan if its performance is better than the existing plan baseline. At this point, the value of the ADAPTIVE property is set to NO since the plan is no longer adaptive, but resolved. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-