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

Public Member Functions

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

Package Attributes

HeavyDBOptionsMap options
 

Private Attributes

String command
 
String name
 
boolean ifNotExists
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a CREATE DATABASE DDL command.

Definition at line 19 of file SqlCreateDB.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlCreateDB.SqlCreateDB ( final SqlParserPos  pos,
final boolean  ifNotExists,
final String  name,
HeavyDBOptionsMap  optionsMap 
)
inline

Definition at line 32 of file SqlCreateDB.java.

References com.mapd.parser.extension.ddl.SqlCreateDB.ifNotExists, com.mapd.parser.extension.ddl.SqlCreateDB.name, and com.mapd.parser.extension.ddl.SqlCreateDB.OPERATOR.

35  {
36  super(OPERATOR, pos, false, ifNotExists);
37  this.command = OPERATOR.getName();
38  this.name = name;
39  this.ifNotExists = ifNotExists;
40  this.options = optionsMap;
41  }

Member Function Documentation

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

Definition at line 44 of file SqlCreateDB.java.

44  {
45  return null;
46  }
String com.mapd.parser.extension.ddl.SqlCreateDB.toString ( )
inline

Definition at line 49 of file SqlCreateDB.java.

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

49  {
50  return toJsonString();
51  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlCreateDB.command
private

Definition at line 24 of file SqlCreateDB.java.

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

Definition at line 20 of file SqlCreateDB.java.

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

HeavyDBOptionsMap com.mapd.parser.extension.ddl.SqlCreateDB.options
package

Definition at line 30 of file SqlCreateDB.java.


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