OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlRefreshForeignTables.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 import static java.util.Objects.requireNonNull;
3 
4 import com.google.gson.annotations.Expose;
6 
7 import org.apache.calcite.sql.SqlKind;
9 import org.apache.calcite.sql.SqlSpecialOperator;
10 import org.apache.calcite.sql.parser.SqlParserPos;
11 
12 import java.util.List;
13 
14 public class SqlRefreshForeignTables extends SqlCustomDdl {
15  private static final SqlOperator OPERATOR =
16  new SqlSpecialOperator("REFRESH_FOREIGN_TABLES", SqlKind.OTHER_DDL);
17 
18  @Expose
19  private List<String> tableNames;
20  @Expose
22 
23  public SqlRefreshForeignTables(final SqlParserPos pos,
24  final List<String> tableNames,
25  final HeavySqlOptionsMap optionsMap) {
26  super(OPERATOR, pos);
27  this.tableNames = tableNames;
28  this.options = optionsMap;
29  }
30 }
SqlRefreshForeignTables(final SqlParserPos pos, final List< String > tableNames, final HeavySqlOptionsMap optionsMap)