public class SqlAlterTableDropConstraint extends SqlAlterTable
SqlAlterTable.AlterTableContext
ifTableExists, OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAlterTableDropConstraint(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlIdentifier constraintName,
boolean ifTableExists)
Creates an alter table drop constraint node.
|
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlIdentifier |
getConstraintName() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName, ifTableExists
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlAlterTableDropConstraint(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlIdentifier constraintName, boolean ifTableExists)
pos
- Parser positiontableName
- Table nameconstraintName
- Constraint nameifTableExists
- Whether IF EXISTS is specifiedpublic org.apache.calcite.sql.SqlIdentifier getConstraintName()
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–2023 The Apache Software Foundation. All rights reserved.