OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 18 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 61 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().

65  {
66  super(OPERATOR, pos, false, ifNotExists);
67  this.ifNotExists = ifNotExists;
68  this.serverName = serverName;
69  this.command = OPERATOR.getName();
70  this.dataWrapper = dataWrapper;
71  this.options = options;
72  }

+ Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 75 of file SqlCreateServer.java.

75  {
76  return null;
77  }
String com.mapd.parser.extension.ddl.SqlCreateServer.toString ( )
inline

Definition at line 80 of file SqlCreateServer.java.

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

80  {
81  return toJsonString();
82  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 57 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 19 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: