Class SubCheckConstraintDescriptor


  • public class SubCheckConstraintDescriptor
    extends SubConstraintDescriptor
    This interface is used to get information from a SubCheckConstraintDescriptor. A SubCheckConstraintDescriptor is used within the DataDictionary to get auxiliary constraint information from the system table that is auxiliary to sysconstraints.
    Version:
    0.1
    • Field Detail

      • referencedColumns

        private ReferencedColumns referencedColumns
        public interface to this class:
        1. public String getConstraintText();
        2. public ReferencedColumns getReferencedColumnsDescriptor();
      • constraintText

        private java.lang.String constraintText
    • Constructor Detail

      • SubCheckConstraintDescriptor

        public SubCheckConstraintDescriptor​(UUID constraintId,
                                            java.lang.String constraintText,
                                            ReferencedColumns referencedColumns)
        Constructor for a SubCheckConstraintDescriptor
        Parameters:
        constraintId - The UUID of the constraint.
        constraintText - The text of the constraint definition.
        referencedColumns - The columns referenced by the check constraint
    • Method Detail

      • getConstraintText

        public java.lang.String getConstraintText()
        Get the text of the check constraint definition.
        Returns:
        The text of the check constraint definition.
      • getReferencedColumnsDescriptor

        public ReferencedColumns getReferencedColumnsDescriptor()
        Get the ReferencedColumns.
        Returns:
        The ReferencedColumns.
      • hasBackingIndex

        public boolean hasBackingIndex()
        Does this constraint have a backing index?
        Specified by:
        hasBackingIndex in class SubConstraintDescriptor
        Returns:
        boolean Whether or not there is a backing index for this constraint.
      • toString

        public java.lang.String toString()
        Convert the SubCheckConstraintDescriptor to a String.
        Overrides:
        toString in class SubConstraintDescriptor
        Returns:
        A String representation of this SubCheckConstraintDescriptor