public class SqlAlterModel
extends org.apache.calcite.sql.SqlCall
Modifier and Type | Field and Description |
---|---|
protected boolean |
ifModelExists |
protected org.apache.calcite.sql.SqlIdentifier |
modelName |
protected org.apache.calcite.sql.SqlIdentifier |
newModelName |
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
Constructor and Description |
---|
SqlAlterModel(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier modelName,
org.apache.calcite.sql.SqlIdentifier newModelName,
boolean ifModelExists) |
SqlAlterModel(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier modelName,
org.apache.calcite.sql.SqlNodeList propertyList,
boolean ifModelExists) |
Modifier and Type | Method and Description |
---|---|
String[] |
fullModelName() |
String[] |
fullNewModelName() |
org.apache.calcite.sql.SqlIdentifier |
getModelName() |
org.apache.calcite.sql.SqlIdentifier |
getNewModelName() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
org.apache.calcite.sql.SqlNodeList |
getPropertyList() |
boolean |
ifModelExists()
Whether to ignore the error if the model doesn't exist.
|
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, validate
public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
protected final org.apache.calcite.sql.SqlIdentifier modelName
protected final org.apache.calcite.sql.SqlIdentifier newModelName
protected final boolean ifModelExists
public SqlAlterModel(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier modelName, org.apache.calcite.sql.SqlNodeList propertyList, boolean ifModelExists)
public SqlAlterModel(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier modelName, org.apache.calcite.sql.SqlIdentifier newModelName, boolean ifModelExists)
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator
in class org.apache.calcite.sql.SqlCall
public org.apache.calcite.sql.SqlIdentifier getModelName()
public String[] fullModelName()
public boolean ifModelExists()
public org.apache.calcite.sql.SqlIdentifier getNewModelName()
public String[] fullNewModelName()
public org.apache.calcite.sql.SqlNodeList getPropertyList()
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlCall
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.