OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlShowUserDetails.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.List;
11 
12 public class SqlShowUserDetails extends SqlCustomDdl {
13  private static final SqlOperator OPERATOR =
14  new SqlSpecialOperator("SHOW_USER_DETAILS", SqlKind.OTHER_DDL);
15 
16  @Expose
17  private List<String> userNames;
18 
19  @Expose
20  private boolean all;
21 
23  final SqlParserPos pos, final List<String> userNames, final boolean all) {
24  super(OPERATOR, pos);
25  this.userNames = userNames;
26  this.all = all;
27  }
28 }
SqlShowUserDetails(final SqlParserPos pos, final List< String > userNames, final boolean all)