OmniSciDB  a5dc49c757
 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 SqlDropUser.java.

Constructor & Destructor Documentation

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

Definition at line 24 of file SqlDropUser.java.

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

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

Member Function Documentation

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

Definition at line 32 of file SqlDropUser.java.

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

Definition at line 37 of file SqlDropUser.java.

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
private

Definition at line 20 of file SqlDropUser.java.

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

Definition at line 15 of file SqlDropUser.java.

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


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