OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.SqlDropRole Class Reference
+ Inheritance diagram for com.mapd.parser.extension.ddl.SqlDropRole:
+ Collaboration diagram for com.mapd.parser.extension.ddl.SqlDropRole:

Public Member Functions

 SqlDropRole (SqlParserPos pos, final boolean ifExists, String role)
List< SqlNode > getOperandList ()
String toString ()
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()

Private Attributes

boolean ifExists
String role
String command

Static Private Attributes

static final SqlOperator OPERATOR

Detailed Description

Class that encapsulates all information associated with a DROP ROLE DDL command.

Definition at line 14 of file

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlDropRole.SqlDropRole ( SqlParserPos  pos,
final boolean  ifExists,
String  role 

Definition at line 25 of file

References com.mapd.parser.extension.ddl.SqlDropRole.ifExists, com.mapd.parser.extension.ddl.SqlDropRole.OPERATOR, and com.mapd.parser.extension.ddl.SqlDropRole.role.

25  {
26  super(OPERATOR, pos, ifExists);
27  this.role = role;
28  this.command = OPERATOR.getName();
29  this.ifExists = ifExists;
30  }

Member Function Documentation

List<SqlNode> com.mapd.parser.extension.ddl.SqlDropRole.getOperandList ( )

Definition at line 33 of file

33  {
34  return null;
35  }
String com.mapd.parser.extension.ddl.SqlDropRole.toString ( )

Definition at line 38 of file

References com.mapd.parser.extension.ddl.JsonSerializableDdl.toJsonString().

38  {
39  return toJsonString();
40  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlDropRole.command

Definition at line 23 of file

boolean com.mapd.parser.extension.ddl.SqlDropRole.ifExists
final SqlOperator com.mapd.parser.extension.ddl.SqlDropRole.OPERATOR
Initial value:
new SqlSpecialOperator("DROP_ROLE", SqlKind.OTHER_DDL)

Definition at line 15 of file

Referenced by com.mapd.parser.extension.ddl.SqlDropRole.SqlDropRole().

String com.mapd.parser.extension.ddl.SqlDropRole.role

The documentation for this class was generated from the following file: