Package org.apache.flink.sql.parser.dql
Class SqlShowTables
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.flink.sql.parser.dql.SqlShowTables
-
- All Implemented Interfaces:
Cloneable
public class SqlShowTables extends org.apache.calcite.sql.SqlCallSHOW Tables sql call.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.calcite.sql.SqlIdentifierdatabaseNameprotected org.apache.calcite.sql.SqlCharStringLiterallikeLiteralprotected booleannotLikestatic org.apache.calcite.sql.SqlSpecialOperatorOPERATORprotected Stringpreposition
-
Constructor Summary
Constructors Constructor Description SqlShowTables(org.apache.calcite.sql.parser.SqlParserPos pos)SqlShowTables(org.apache.calcite.sql.parser.SqlParserPos pos, String preposition, org.apache.calcite.sql.SqlIdentifier databaseName, boolean notLike, org.apache.calcite.sql.SqlCharStringLiteral likeLiteral)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]fullDatabaseName()org.apache.calcite.sql.SqlCharStringLiteralgetLikeLiteral()StringgetLikeSqlPattern()List<org.apache.calcite.sql.SqlNode>getOperandList()org.apache.calcite.sql.SqlOperatorgetOperator()StringgetPreposition()booleanisNotLike()booleanisWithLike()voidunparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Field Detail
-
OPERATOR
public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
-
databaseName
protected final org.apache.calcite.sql.SqlIdentifier databaseName
-
preposition
protected final String preposition
-
notLike
protected final boolean notLike
-
likeLiteral
protected final org.apache.calcite.sql.SqlCharStringLiteral likeLiteral
-
-
Constructor Detail
-
SqlShowTables
public SqlShowTables(org.apache.calcite.sql.parser.SqlParserPos pos)
-
SqlShowTables
public SqlShowTables(org.apache.calcite.sql.parser.SqlParserPos pos, String preposition, org.apache.calcite.sql.SqlIdentifier databaseName, boolean notLike, org.apache.calcite.sql.SqlCharStringLiteral likeLiteral)
-
-
Method Detail
-
getLikeSqlPattern
public String getLikeSqlPattern()
-
isNotLike
public boolean isNotLike()
-
getLikeLiteral
public org.apache.calcite.sql.SqlCharStringLiteral getLikeLiteral()
-
isWithLike
public boolean isWithLike()
-
getPreposition
public String getPreposition()
-
getOperator
public org.apache.calcite.sql.SqlOperator getOperator()
- Specified by:
getOperatorin classorg.apache.calcite.sql.SqlCall
-
getOperandList
public List<org.apache.calcite.sql.SqlNode> getOperandList()
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
fullDatabaseName
public String[] fullDatabaseName()
-
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparsein classorg.apache.calcite.sql.SqlCall
-
-