public class SqlShowDatabases
extends org.apache.calcite.sql.SqlCall
SHOW DATABASES [ ( FROM | IN ) catalog_name] [ [NOT] (LIKE | ILIKE)
<sql_like_pattern> ] statement
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
Constructor and Description |
---|
SqlShowDatabases(org.apache.calcite.sql.parser.SqlParserPos pos,
String preposition,
org.apache.calcite.sql.SqlIdentifier catalogName,
String likeType,
org.apache.calcite.sql.SqlCharStringLiteral likeLiteral,
boolean notLike) |
Modifier and Type | Method and Description |
---|---|
String[] |
getCatalog() |
String |
getLikeSqlPattern() |
String |
getLikeType() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
String |
getPreposition() |
boolean |
isNotLike() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlShowDatabases(org.apache.calcite.sql.parser.SqlParserPos pos, String preposition, org.apache.calcite.sql.SqlIdentifier catalogName, String likeType, org.apache.calcite.sql.SqlCharStringLiteral likeLiteral, boolean notLike) throws ParseException
ParseException
public String[] getCatalog()
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator
in class org.apache.calcite.sql.SqlCall
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 org.apache.calcite.sql.SqlCall
public String getLikeSqlPattern()
public boolean isNotLike()
public String getPreposition()
public String getLikeType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.