Package org.apache.flink.sql.parser.ddl
Class SqlCreateDatabase
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.calcite.sql.SqlDdl
-
- org.apache.calcite.sql.SqlCreate
-
- org.apache.flink.sql.parser.ddl.SqlCreateObject
-
- org.apache.flink.sql.parser.ddl.SqlCreateDatabase
-
- All Implemented Interfaces:
Cloneable
public class SqlCreateDatabase extends SqlCreateObject
CREATE Database DDL sql call.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.sql.SqlSpecialOperatorOPERATOR-
Fields inherited from class org.apache.flink.sql.parser.ddl.SqlCreateObject
comment, name, properties
-
-
Constructor Summary
Constructors Constructor Description SqlCreateDatabase(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier databaseName, org.apache.calcite.sql.SqlNodeList propertyList, org.apache.calcite.sql.SqlCharStringLiteral comment, boolean ifNotExists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.calcite.sql.SqlNode>getOperandList()protected StringgetScope()The scope will be used in unparse.-
Methods inherited from class org.apache.flink.sql.parser.ddl.SqlCreateObject
getComment, getFullName, getName, getProperties, isIfNotExists, isTemporary, unparse, unparseCreateIfNotExists
-
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()
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
getScope
protected String getScope()
Description copied from class:SqlCreateObjectThe scope will be used in unparse.- Specified by:
getScopein classSqlCreateObject
-
-