OmniSciDB  471d68cefb
 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 SqlDropDB.java.

Constructor & Destructor Documentation

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

Definition at line 28 of file SqlDropDB.java.

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

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

Member Function Documentation

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

Definition at line 36 of file SqlDropDB.java.

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

Definition at line 41 of file SqlDropDB.java.

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
private

Definition at line 22 of file SqlDropDB.java.

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

Definition at line 26 of file SqlDropDB.java.

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

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

Definition at line 18 of file SqlDropDB.java.

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


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