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

Public Member Functions

 SqlDropDB (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

String command
String name
boolean ifExists

Static Private Attributes

static final SqlOperator OPERATOR

Detailed Description

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

Definition at line 17 of file

Constructor & Destructor Documentation

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

Definition at line 28 of file

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

28  {
29  super(OPERATOR, pos, ifExists);
30  this.command = OPERATOR.getName();
31 = name;
32  this.ifExists = ifExists;
33  }
static final SqlOperator OPERATOR

Member Function Documentation

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

Definition at line 36 of file

36  {
37  return null;
38  }
String com.mapd.parser.extension.ddl.SqlDropDB.toString ( )

Definition at line 41 of file

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

41  {
42  return toJsonString();
43  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 22 of file

boolean com.mapd.parser.extension.ddl.SqlDropDB.ifExists

Definition at line 26 of file

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

final SqlOperator com.mapd.parser.extension.ddl.SqlDropDB.OPERATOR
Initial value:
new SqlSpecialOperator("DROP_DB", SqlKind.OTHER_DDL)

Definition at line 18 of file

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

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