public class SqlDropDatabase extends org.apache.calcite.sql.SqlDrop implements ExtendedSqlNode
Constructor and Description |
---|
SqlDropDatabase(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier databaseName,
boolean ifExists,
boolean isCascade) |
Modifier and Type | Method and Description |
---|---|
String[] |
fullDatabaseName() |
org.apache.calcite.sql.SqlIdentifier |
getDatabaseName() |
boolean |
getIfExists() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
boolean |
isCascade() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
validate() |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlDropDatabase(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier databaseName, boolean ifExists, boolean isCascade)
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public org.apache.calcite.sql.SqlIdentifier getDatabaseName()
public boolean getIfExists()
public boolean isCascade()
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlCall
public void validate()
validate
in interface ExtendedSqlNode
public String[] fullDatabaseName()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.