Package org.apache.flink.sql.parser.dql
Class SqlShowDatabases
java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.flink.sql.parser.dql.SqlShowCall
org.apache.flink.sql.parser.dql.SqlShowDatabases
- All Implemented Interfaces:
Cloneable
SHOW Databases sql call. The full syntax for show databases is as followings:
SHOW DATABASES [ ( FROM | IN ) catalog_name] [ [NOT] (LIKE | ILIKE)
<sql_like_pattern> ] statement
-
Field Summary
FieldsFields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos -
Constructor Summary
ConstructorsConstructorDescriptionSqlShowDatabases(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) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.SqlOperatorMethods inherited from class org.apache.flink.sql.parser.dql.SqlShowCall
getLikeSqlPattern, getLikeType, getOperandList, getPreposition, getSqlIdentifierNameList, isNotLike, isWithLike, unparseMethods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateMethods inherited from class org.apache.calcite.sql.SqlNode
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr
-
Field Details
-
OPERATOR
public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
-
-
Constructor Details
-
SqlShowDatabases
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 - Throws:
ParseException
-
-
Method Details
-
getCatalogName
-
getOperator
public org.apache.calcite.sql.SqlOperator getOperator()- Specified by:
getOperatorin classSqlShowCall
-