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

Classes

class  Builder
 

Public Member Functions

 SqlCreateServer (final SqlParserPos pos, final boolean ifNotExists, final String serverName, final String dataWrapper, final Map< String, String > options)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

boolean ifNotExists
 
String serverName
 
String dataWrapper
 
String command
 
Map< String, String > options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

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

Definition at line 19 of file SqlCreateServer.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlCreateServer.SqlCreateServer ( final SqlParserPos  pos,
final boolean  ifNotExists,
final String  serverName,
final String  dataWrapper,
final Map< String, String >  options 
)
inline

Definition at line 78 of file SqlCreateServer.java.

References com.mapd.parser.extension.ddl.SqlCreateServer.dataWrapper, com.mapd.parser.extension.ddl.SqlCreateServer.ifNotExists, com.mapd.parser.extension.ddl.SqlCreateServer.OPERATOR, com.mapd.parser.extension.ddl.SqlCreateServer.options, and com.mapd.parser.extension.ddl.SqlCreateServer.serverName.

Referenced by com.mapd.parser.extension.ddl.SqlCreateServer.Builder.build().

82  {
83  super(OPERATOR, pos, false, ifNotExists);
84  this.ifNotExists = ifNotExists;
85  this.serverName = serverName;
86  this.command = OPERATOR.getName();
87  this.dataWrapper = dataWrapper;
88  this.options = options;
89  }

+ Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 92 of file SqlCreateServer.java.

92  {
93  return null;
94  }
String com.mapd.parser.extension.ddl.SqlCreateServer.toString ( )
inline

Definition at line 97 of file SqlCreateServer.java.

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

97  {
98  return toJsonString();
99  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 74 of file SqlCreateServer.java.

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

Definition at line 20 of file SqlCreateServer.java.

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

Map<String, String> com.mapd.parser.extension.ddl.SqlCreateServer.options
private
String com.mapd.parser.extension.ddl.SqlCreateServer.serverName
private

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