1 package com.mapd.parser.extension.ddl;
3 import com.google.gson.annotations.Expose;
5 import org.apache.calcite.sql.SqlCreate;
6 import org.apache.calcite.sql.SqlKind;
7 import org.apache.calcite.sql.SqlNode;
9 import org.apache.calcite.sql.SqlSpecialOperator;
10 import org.apache.calcite.sql.parser.SqlParserPos;
12 import java.util.List;
20 new SqlSpecialOperator(
"CREATE_SERVER", SqlKind.OTHER_DDL);
26 private SqlParserPos
pos;
65 final Map<String, String>
options) {
66 super(
OPERATOR, pos,
false, ifNotExists);
69 this.command = OPERATOR.getName();
default String toJsonString()
void setIfNotExists(final boolean ifNotExists)
SqlCreateServer(final SqlParserPos pos, final boolean ifNotExists, final String serverName, final String dataWrapper, final Map< String, String > options)
List< SqlNode > getOperandList()
Map< String, String > options
static final SqlOperator OPERATOR
void setPos(final SqlParserPos pos)
void setServerName(final String serverName)
void setDataWrapper(final String dataWrapper)