OmniSciDB  72c90bc290
 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

Constructor & Destructor Documentation

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

Definition at line 32 of file

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

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

Member Function Documentation

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

Definition at line 44 of file

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

Definition at line 49 of file

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

Definition at line 24 of file

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

Definition at line 20 of file

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

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

Definition at line 30 of file

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