public class SqlShowTables
extends org.apache.calcite.sql.SqlCall
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.calcite.sql.SqlIdentifier |
databaseName |
protected org.apache.calcite.sql.SqlCharStringLiteral |
likeLiteral |
protected boolean |
notLike |
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
protected String |
preposition |
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
fullDatabaseName() |
org.apache.calcite.sql.SqlCharStringLiteral |
getLikeLiteral() |
String |
getLikeSqlPattern() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
String |
getPreposition() |
boolean |
isNotLike() |
boolean |
isWithLike() |
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 static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
protected final org.apache.calcite.sql.SqlIdentifier databaseName
protected final String preposition
protected final boolean notLike
protected final org.apache.calcite.sql.SqlCharStringLiteral likeLiteral
public SqlShowTables(org.apache.calcite.sql.parser.SqlParserPos pos)
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)
public String getLikeSqlPattern()
public boolean isNotLike()
public org.apache.calcite.sql.SqlCharStringLiteral getLikeLiteral()
public boolean isWithLike()
public String getPreposition()
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 String[] fullDatabaseName()
public void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse in class org.apache.calcite.sql.SqlCallCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.