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

Public Member Functions

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

Private Attributes

boolean ifExists
String command
String name

Static Private Attributes

static final SqlOperator OPERATOR

Detailed Description

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

Definition at line 14 of file

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlDropUser.SqlDropUser ( final SqlParserPos  pos,
final boolean  ifExists,
final String  name 

Definition at line 24 of file

References com.mapd.parser.extension.ddl.SqlDropUser.ifExists,, and com.mapd.parser.extension.ddl.SqlDropUser.OPERATOR.

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

Member Function Documentation

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

Definition at line 32 of file

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

Definition at line 37 of file

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

37  {
38  return toJsonString();
39  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 20 of file

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

Definition at line 15 of file

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

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