public class SqlShowColumns
extends org.apache.calcite.sql.SqlCall
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.calcite.sql.SqlCharStringLiteral |
likeLiteral |
protected boolean |
notLike |
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
protected String |
preposition |
protected org.apache.calcite.sql.SqlIdentifier |
tableName |
| Constructor and Description |
|---|
SqlShowColumns(org.apache.calcite.sql.parser.SqlParserPos pos,
String preposition,
org.apache.calcite.sql.SqlIdentifier tableName,
boolean notLike,
org.apache.calcite.sql.SqlCharStringLiteral likeLiteral) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
fullTableName() |
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 tableName
protected final String preposition
protected final boolean notLike
protected final org.apache.calcite.sql.SqlCharStringLiteral likeLiteral
public SqlShowColumns(org.apache.calcite.sql.parser.SqlParserPos pos,
String preposition,
org.apache.calcite.sql.SqlIdentifier tableName,
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[] fullTableName()
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.