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

Classes

enum  AlterType
 
class  Builder
 

Public Member Functions

 SqlAlterServer (final SqlParserPos pos, final AlterType alterType, final String serverName, final String newServerName, final String newOwner, 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

AlterType alterType
 
String newServerName
 
String newOwner
 
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 ALTER SERVER DDL command.

Definition at line 18 of file SqlAlterServer.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlAlterServer.SqlAlterServer ( final SqlParserPos  pos,
final AlterType  alterType,
final String  serverName,
final String  newServerName,
final String  newOwner,
final String  dataWrapper,
final Map< String, String >  options 
)
inline

Definition at line 94 of file SqlAlterServer.java.

References com.mapd.parser.extension.ddl.SqlAlterServer.alterType, com.mapd.parser.extension.ddl.SqlAlterServer.dataWrapper, com.mapd.parser.extension.ddl.SqlAlterServer.newOwner, com.mapd.parser.extension.ddl.SqlAlterServer.newServerName, com.mapd.parser.extension.ddl.SqlAlterServer.OPERATOR, com.mapd.parser.extension.ddl.SqlAlterServer.options, and com.mapd.parser.extension.ddl.SqlAlterServer.serverName.

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

100  {
101  super(OPERATOR, pos);
102  this.alterType = alterType;
103  this.newServerName = newServerName;
104  this.newOwner = newOwner;
105  this.serverName = serverName;
106  this.dataWrapper = dataWrapper;
107  this.options = options;
108  this.command = OPERATOR.getName();
109  }

+ Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 112 of file SqlAlterServer.java.

112  {
113  return null;
114  }
String com.mapd.parser.extension.ddl.SqlAlterServer.toString ( )
inline

Definition at line 117 of file SqlAlterServer.java.

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

117  {
118  return toJsonString();
119  }

+ Here is the call graph for this function:

Member Data Documentation

AlterType com.mapd.parser.extension.ddl.SqlAlterServer.alterType
private
String com.mapd.parser.extension.ddl.SqlAlterServer.command
private

Definition at line 90 of file SqlAlterServer.java.

String com.mapd.parser.extension.ddl.SqlAlterServer.dataWrapper
private
String com.mapd.parser.extension.ddl.SqlAlterServer.newOwner
private
String com.mapd.parser.extension.ddl.SqlAlterServer.newServerName
private
final SqlOperator com.mapd.parser.extension.ddl.SqlAlterServer.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("ALTER_SERVER", SqlKind.OTHER_DDL)

Definition at line 19 of file SqlAlterServer.java.

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

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

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