Class SqlAlterCatalogComment
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.calcite.sql.SqlAlter
-
- org.apache.flink.sql.parser.ddl.SqlAlterObject
-
- org.apache.flink.sql.parser.ddl.catalog.SqlAlterCatalog
-
- org.apache.flink.sql.parser.ddl.catalog.SqlAlterCatalogComment
-
- All Implemented Interfaces:
Cloneable
public class SqlAlterCatalogComment extends SqlAlterCatalog
ALTER CATALOG catalog_name COMMENT 'comment'.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.sql.parser.ddl.SqlAlterObject
name
-
-
Constructor Summary
Constructors Constructor Description SqlAlterCatalogComment(org.apache.calcite.sql.parser.SqlParserPos position, org.apache.calcite.sql.SqlIdentifier catalogName, org.apache.calcite.sql.SqlCharStringLiteral comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()List<org.apache.calcite.sql.SqlNode>getOperandList()protected voidunparseAlterOperation(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)-
Methods inherited from class org.apache.flink.sql.parser.ddl.catalog.SqlAlterCatalog
catalogName
-
Methods inherited from class org.apache.flink.sql.parser.ddl.SqlAlterObject
getFullName, getOperator
-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Method Detail
-
getOperandList
public List<org.apache.calcite.sql.SqlNode> getOperandList()
- Overrides:
getOperandListin classSqlAlterCatalog
-
getComment
public String getComment()
-
unparseAlterOperation
protected void unparseAlterOperation(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparseAlterOperationin classSqlAlterCatalog
-
-