public abstract class SqlSchema extends DrillSqlCall
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlSchema.Add |
static class |
SqlSchema.Create
CREATE SCHEMA sql call.
|
static class |
SqlSchema.Describe
DESCRIBE SCHEMA FOR TABLE sql call.
|
static class |
SqlSchema.Drop
DROP SCHEMA sql call.
|
static class |
SqlSchema.Remove |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.calcite.sql.SqlNode |
path |
protected org.apache.calcite.sql.SqlIdentifier |
table |
| Modifier | Constructor and Description |
|---|---|
protected |
SqlSchema(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier table,
org.apache.calcite.sql.SqlNode path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
protected Map<String,String> |
getProperties(org.apache.calcite.sql.SqlNodeList properties) |
List<String> |
getSchemaPath() |
org.apache.calcite.sql.SqlIdentifier |
getTable() |
String |
getTableName() |
boolean |
hasTable() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
getSqlHandler, getSqlHandleraccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, getOperandList, getOperator, isCountStar, isExpanded, operand, operandCount, setOperand, validateprotected final org.apache.calcite.sql.SqlIdentifier table
protected final org.apache.calcite.sql.SqlNode path
protected SqlSchema(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier table,
org.apache.calcite.sql.SqlNode path)
public void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse in class org.apache.calcite.sql.SqlCallpublic boolean hasTable()
public org.apache.calcite.sql.SqlIdentifier getTable()
public String getTableName()
public String getPath()
Copyright © 2022 The Apache Software Foundation. All rights reserved.