public abstract class SqlAlterTable
extends org.apache.calcite.sql.SqlCall
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SqlAlterTable.AlterTableContext
Alter table context.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
ifTableExists |
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
protected org.apache.calcite.sql.SqlNodeList |
partitionSpec |
protected org.apache.calcite.sql.SqlIdentifier |
tableIdentifier |
| 构造器和说明 |
|---|
SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
boolean ifTableExists) |
SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList partitionSpec) |
SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList partitionSpec,
boolean ifTableExists) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
fullTableName() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
LinkedHashMap<String,String> |
getPartitionKVs()
Get partition spec as key-value strings.
|
org.apache.calcite.sql.SqlNodeList |
getPartitionSpec()
Returns the partition spec if the ALTER should be applied to partitions, and null otherwise.
|
org.apache.calcite.sql.SqlIdentifier |
getTableName() |
boolean |
ifTableExists()
Whether to ignore the error if the table doesn't exist.
|
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, getOperandList, isCountStar, isExpanded, operand, operandCount, setOperand, validatepublic static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
protected final org.apache.calcite.sql.SqlIdentifier tableIdentifier
protected final org.apache.calcite.sql.SqlNodeList partitionSpec
protected final boolean ifTableExists
public SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
@Nullable
org.apache.calcite.sql.SqlNodeList partitionSpec,
boolean ifTableExists)
public SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
boolean ifTableExists)
public SqlAlterTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
@Nullable
org.apache.calcite.sql.SqlNodeList partitionSpec)
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator 在类中 org.apache.calcite.sql.SqlCallpublic org.apache.calcite.sql.SqlIdentifier getTableName()
public void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse 在类中 org.apache.calcite.sql.SqlCallpublic String[] fullTableName()
public org.apache.calcite.sql.SqlNodeList getPartitionSpec()
public LinkedHashMap<String,String> getPartitionKVs()
public boolean ifTableExists()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.