public class SqlAlterTableAddConstraint extends SqlAlterTable
SqlAlterTable.AlterTableContextifTableExists, OPERATOR, partitionSpec, tableIdentifier| Constructor and Description |
|---|
SqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID,
SqlTableConstraint constraint,
org.apache.calcite.sql.parser.SqlParserPos pos,
boolean ifTableExists)
Creates a add table constraint node.
|
| Modifier and Type | Method and Description |
|---|---|
SqlTableConstraint |
getConstraint() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName, ifTableExistsaccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validatepublic SqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID,
SqlTableConstraint constraint,
org.apache.calcite.sql.parser.SqlParserPos pos,
boolean ifTableExists)
tableID - Table IDconstraint - Table constraintpos - Parser positionifTableExists - Whether IF EXISTS is specifiedpublic SqlTableConstraint getConstraint()
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList in class org.apache.calcite.sql.SqlCallpublic void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse in class SqlAlterTableCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.