Class ConstraintInfo

java.lang.Object
org.apache.derby.impl.sql.execute.ConstraintInfo
All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat, ConsInfo

public class ConstraintInfo extends Object implements ConsInfo
This is a simple class used to store the run time information about a constraint.
See Also:
  • Field Details

    • tableName

      private String tableName
      This class implements Formatable. That means that it can write itself to and from a formatted stream. If you add more fields to this class, make sure that you also write/read them with the writeExternal()/readExternal() methods. If, inbetween releases, you add more fields to this class, then you should bump the version number emitted by the getTypeFormatId() method. OR, since this is something that is used in stored prepared statements, it is ok to change it if you make sure that stored prepared statements are invalidated across releases.
    • tableSd

      private SchemaDescriptor tableSd
    • tableSchemaId

      private UUID tableSchemaId
    • columnNames

      private String[] columnNames
    • raDeleteRule

      private int raDeleteRule
    • raUpdateRule

      private int raUpdateRule
  • Constructor Details

    • ConstraintInfo

      public ConstraintInfo()
      Niladic constructor for Formattable
    • ConstraintInfo

      public ConstraintInfo(String tableName, SchemaDescriptor tableSd, String[] columnNames, int raDeleteRule, int raUpdateRule)
      Consructor
  • Method Details