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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SQLExprgetComment()SQLNamegetName()voidsetComment(SQLExpr x)default voidsetHasConstraint(boolean hasConstraint)voidsetName(SQLName value)voidsimplify()-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-