OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlShowCreateServer.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 
3 import com.google.gson.annotations.Expose;
4 
5 import org.apache.calcite.sql.SqlKind;
6 import org.apache.calcite.sql.SqlOperator;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
9 
14 public class SqlShowCreateServer extends SqlCustomDdl {
15  private static final SqlOperator OPERATOR =
16  new SqlSpecialOperator("SHOW_CREATE_SERVER", SqlKind.OTHER_DDL);
17 
18  @Expose
19  private String serverName;
20 
21  public SqlShowCreateServer(final SqlParserPos pos, final String serverName) {
22  super(OPERATOR, pos);
23  this.serverName = serverName;
24  }
25 }
SqlShowCreateServer(final SqlParserPos pos, final String serverName)