Class SubsettingRule


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class SubsettingRule
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Defines a rule for subsetting data in specific tables or schemas, including scope and processing strategies
    Note: Objects should always be created or deserialized using the SubsettingRule.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 SubsettingRule.Builder, which maintain a set of all explicitly set fields called SubsettingRule.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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
      • getDescription

        public String getDescription()
        The description of the subset rule
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The display name of the subset rule
        Returns:
        the value
      • getRuleCombinationMode

        public SubsettingRule.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 SubsettingRule.RelatedTablesPropagation getRelatedTablesPropagation()
        Strategy to be applied while propagating subsetting rule to related tables
        Returns:
        the value
      • getPeerTablesAction

        public SubsettingRule.PeerTablesAction getPeerTablesAction()
        Strategy to be applied while processing peer tables
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel