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, validatepublic 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
ParseExceptionpublic String[] getCatalog()
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator in class org.apache.calcite.sql.SqlCallpublic List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList in class org.apache.calcite.sql.SqlCallpublic void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse in class org.apache.calcite.sql.SqlCallpublic String getLikeSqlPattern()
public boolean isNotLike()
public String getPreposition()
public String getLikeType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.