public class SqlAlterTableAddConstraint extends SqlAlterTable
OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID,
SqlTableConstraint constraint,
org.apache.calcite.sql.parser.SqlParserPos pos)
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
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlAlterTableAddConstraint(org.apache.calcite.sql.SqlIdentifier tableID, SqlTableConstraint constraint, org.apache.calcite.sql.parser.SqlParserPos pos)
tableID
- Table IDconstraint
- Table constraintpos
- Parser positionpublic SqlTableConstraint getConstraint()
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class SqlAlterTable
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.