Class SubsettingRuleSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class SubsettingRuleSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Provides summary information for a subsetting rule, which defines how specific tables or schemas are subsetted
    Note: Objects should always be created or deserialized using the SubsettingRuleSummary.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 called SubsettingRuleSummary.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
      • 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
      • 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
      • 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:
        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