1 package com.mapd.parser.extension.ddl;
2 import com.google.gson.annotations.Expose;
5 import org.apache.calcite.sql.SqlKind;
6 import org.apache.calcite.sql.SqlNode;
8 import org.apache.calcite.sql.SqlSpecialOperator;
9 import org.apache.calcite.sql.parser.SqlParserPos;
11 import java.util.ArrayList;
12 import java.util.List;
16 new SqlSpecialOperator(
"SHOW_SERVERS", SqlKind.OTHER_DDL);
20 private SqlParserPos
pos;
35 filters.add(
new SqlFilter(attribute, sanitizedValue.
toString(), operation, chain));
47 final SqlParserPos pos,
final List<SqlFilter>
filters,
final SqlNode where) {
List< SqlFilter > filters
void setPos(SqlParserPos pos)
SqlShowForeignServers(final SqlParserPos pos, final List< SqlFilter > filters, final SqlNode where)
static final SqlOperator OPERATOR
SqlShowForeignServers build()
void addFilter(final String attribute, final String value, final SqlFilter.Operation operation, final SqlFilter.Chain chain)
List< SqlFilter > filters