public static class AlterTableQuery.AddConstraintAction extends SqlObject
"... ADD <constraint_clause>
.Modifier and Type | Field and Description |
---|---|
protected SqlObject |
_constraint |
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Constructor and Description |
---|
AddConstraintAction(Object constraint) |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(AppendableExt app)
Appends this object to the given AppendableExt.
|
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
protected ConstraintClause |
getConstraint() |
collectSchemaObjects, doValidate, toString
toString, toString
protected SqlObject _constraint
public AddConstraintAction(Object constraint)
protected ConstraintClause getConstraint()
protected void collectSchemaObjects(ValidationContext vContext)
SqlObject
collectSchemaObjects
in class SqlObject
vContext
- handle to the current validation contextpublic void appendTo(AppendableExt app) throws IOException
Appendee
appendTo
in interface Appendee
appendTo
in class AppendeeObject
app
- the AppendableExt to which this class should append itselfIOException
- if the append failsCopyright © 2006–2021 OpenHMS. All rights reserved.