Class SubsettingRuleSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SubsettingRuleSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SubsettingRuleSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProvides summary information for a subsetting rule, which defines how specific tables or schemas are subsetted
Note: Objects should always be created or deserialized using theSubsettingRuleSummary.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
SubsettingRuleSummary.Builder, which maintain a set of all explicitly set fields calledSubsettingRuleSummary.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 Summary
Nested Classes Modifier and Type Class Description static classSubsettingRuleSummary.Builderstatic classSubsettingRuleSummary.PeerTablesActionStrategy to be applied while processing peer tables.static classSubsettingRuleSummary.RelatedTablesPropagationStrategy to be applied while propagating subsetting rule to related tablesstatic classSubsettingRuleSummary.RuleCombinationModeSpecifies how this rule combines with other rules.
-
Constructor Summary
Constructors Constructor Description SubsettingRuleSummary(String key, String displayName, String description, SubsetScope scope, SubsetRuleEntry subsetRuleEntry, SubsettingRuleSummary.RuleCombinationMode ruleCombinationMode, SubsettingRuleSummary.RelatedTablesPropagation relatedTablesPropagation, SubsettingRuleSummary.PeerTablesAction peerTablesAction)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubsettingRuleSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()The description of the subsetting ruleStringgetDisplayName()The display name of the subsetting ruleStringgetKey()The unique key that identifies a subsetting rule.SubsettingRuleSummary.PeerTablesActiongetPeerTablesAction()Strategy to be applied while processing peer tables.SubsettingRuleSummary.RelatedTablesPropagationgetRelatedTablesPropagation()Strategy to be applied while propagating subsetting rule to related tablesSubsettingRuleSummary.RuleCombinationModegetRuleCombinationMode()Specifies how this rule combines with other rules.SubsetScopegetScope()SubsetRuleEntrygetSubsetRuleEntry()inthashCode()SubsettingRuleSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SubsettingRuleSummary
@Deprecated @ConstructorProperties({"key","displayName","description","scope","subsetRuleEntry","ruleCombinationMode","relatedTablesPropagation","peerTablesAction"}) public SubsettingRuleSummary(String key, String displayName, String description, SubsetScope scope, SubsetRuleEntry subsetRuleEntry, SubsettingRuleSummary.RuleCombinationMode ruleCombinationMode, SubsettingRuleSummary.RelatedTablesPropagation relatedTablesPropagation, SubsettingRuleSummary.PeerTablesAction peerTablesAction)
Deprecated.
-
-
Method Detail
-
builder
public static SubsettingRuleSummary.Builder builder()
Create a new builder.
-
toBuilder
public SubsettingRuleSummary.Builder toBuilder()
-
getKey
public String getKey()
The unique key that identifies a subsetting rule.The key is numeric and unique within a subsetting policy
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the subsetting rule- Returns:
- the value
-
getDescription
public String getDescription()
The description of the subsetting rule- Returns:
- the value
-
getScope
public SubsetScope getScope()
-
getSubsetRuleEntry
public SubsetRuleEntry getSubsetRuleEntry()
-
getRuleCombinationMode
public SubsettingRuleSummary.RuleCombinationMode getRuleCombinationMode()
Specifies how this rule combines with other rules.UNION evaluates this rule independently and adds matching rows to the result set. SERIAL applies this rule sequentially to filter rows selected by a compatible preceding rule.
- Returns:
- the value
-
getRelatedTablesPropagation
public SubsettingRuleSummary.RelatedTablesPropagation getRelatedTablesPropagation()
Strategy to be applied while propagating subsetting rule to related tables- Returns:
- the value
-
getPeerTablesAction
public SubsettingRuleSummary.PeerTablesAction getPeerTablesAction()
Strategy to be applied while processing peer tables.Peer tables are the tables related to the subset table but not on the ancestor or descendant paths. MINIMUM_ROWS option will retain minimum number of rows in peer tables which are required to maintain referential integrity SUBSET option will propagate the subsetting rule to the peer tables MAXIMUM_ROWS option will retain maximum number of rows in peer tables without breaking the referential integrity
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-