OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlShowPolicies.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;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
9 
10 public class SqlShowPolicies extends SqlCustomDdl {
11  private static final SqlOperator OPERATOR =
12  new SqlSpecialOperator("SHOW_POLICIES", SqlKind.OTHER_DDL);
13 
14  @Expose
15  private boolean effective;
16  @Expose
17  private String granteeName;
18 
20  final SqlParserPos pos, final boolean effective, final String granteeName) {
21  super(OPERATOR, pos);
22  this.effective = effective;
23  this.granteeName = granteeName;
24  }
25 }
SqlShowPolicies(final SqlParserPos pos, final boolean effective, final String granteeName)