Interface SQLConstraint

All Superinterfaces:
SQLObject
All Known Subinterfaces:
OracleConstraint, SQLColumnConstraint, SQLForeignKeyConstraint, SQLPrimaryKey, SQLTableConstraint, SQLUniqueConstraint
All Known Implementing Classes:
ClickhouseColumnCodec, ClickhouseColumnConstraint, ClickhouseColumnTTL, MysqlForeignKey, MySqlKey, MySqlPrimaryKey, MySqlTableIndex, MySqlUnique, OracleCheck, OracleForeignKey, OraclePrimaryKey, OracleUnique, PrestoColumnConstraint, PrestoColumnWith, RedshiftColumnConstraint, RedshiftColumnEncode, RedshiftColumnKey, SQLCheck, SQLColumnCheck, SQLColumnDefault, SQLColumnPrimaryKey, SQLColumnReference, SQLColumnUniqueKey, SQLConstraintImpl, SQLDefault, SQLForeignKeyImpl, SQLNotNullConstraint, SQLNullConstraint, SQLPrimaryKeyImpl, SQLUnique, StarRocksAggregateKey, StarRocksDuplicateKey

public interface SQLConstraint extends SQLObject
  • Method Details

    • getName

      SQLName getName()
    • setName

      void setName(SQLName value)
    • getComment

      SQLExpr getComment()
    • setComment

      void setComment(SQLExpr x)
    • simplify

      void simplify()
    • setHasConstraint

      default void setHasConstraint(boolean hasConstraint)