public class SqlCreateForeignSchema extends SqlCreate implements SqlExecutableStatement
CREATE FOREIGN SCHEMA statement.| Modifier and Type | Field and Description |
|---|---|
private SqlNode |
library |
private SqlIdentifier |
name |
private static SqlOperator |
OPERATOR |
private SqlNodeList |
optionList |
private SqlNode |
type |
ifNotExistsDDL_OPERATOREMPTY_ARRAY, pos| Constructor and Description |
|---|
SqlCreateForeignSchema(SqlParserPos pos,
boolean replace,
boolean ifNotExists,
SqlIdentifier name,
SqlNode type,
SqlNode library,
SqlNodeList optionList)
Creates a SqlCreateForeignSchema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CalcitePrepare.Context context) |
List<SqlNode> |
getOperandList() |
private static List<Pair<SqlIdentifier,SqlNode>> |
options(SqlNodeList optionList) |
void |
unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
private static Comparable |
value(SqlNode node)
Returns the value of a literal, converting
NlsString into String. |
getReplace, setReplacegetOperatoraccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateclone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toSqlString, toSqlString, toString, validateExprprivate final SqlIdentifier name
private final SqlNode type
private final SqlNode library
private final SqlNodeList optionList
private static final SqlOperator OPERATOR
SqlCreateForeignSchema(SqlParserPos pos, boolean replace, boolean ifNotExists, SqlIdentifier name, SqlNode type, SqlNode library, SqlNodeList optionList)
public List<SqlNode> getOperandList()
getOperandList in class SqlCallpublic void unparse(SqlWriter writer, int leftPrec, int rightPrec)
public void execute(CalcitePrepare.Context context)
execute in interface SqlExecutableStatementprivate static Comparable value(SqlNode node)
NlsString into String.private static List<Pair<SqlIdentifier,SqlNode>> options(SqlNodeList optionList)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.