OmniSciDB  a987f07e93
 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 SqlDropRole.java.

Constructor & Destructor Documentation

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

Definition at line 25 of file SqlDropRole.java.

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 ( )
inline

Definition at line 33 of file SqlDropRole.java.

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

Definition at line 38 of file SqlDropRole.java.

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
private

Definition at line 23 of file SqlDropRole.java.

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

Definition at line 15 of file SqlDropRole.java.

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

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

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