OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlAlterSessionSet.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 
10 import java.util.Map;
11 
12 public class SqlAlterSessionSet extends SqlCustomDdl {
13  private static final SqlOperator OPERATOR =
14  new SqlSpecialOperator("ALTER_SESSION_SET", SqlKind.OTHER_DDL);
15  @Expose
16  private String sessionParameter;
17  @Expose
18  private String parameterValue;
19 
20  public SqlAlterSessionSet(final SqlParserPos pos,
21  final String sessionParameter,
22  final String parameterValue) {
23  super(OPERATOR, pos);
24  this.sessionParameter = sessionParameter;
25  this.parameterValue = parameterValue;
26  }
27 }
SqlAlterSessionSet(final SqlParserPos pos, final String sessionParameter, final String parameterValue)