OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.SqlCustomDdl
 SqlCustomDdl (final SqlOperator operator, final SqlParserPos pos)
 
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
 
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 15 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 89 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().

95  {
96  super(OPERATOR, pos);
97  this.alterType = alterType;
98  this.newServerName = newServerName;
99  this.newOwner = newOwner;
100  this.serverName = serverName;
101  this.dataWrapper = dataWrapper;
102  this.options = options;
103  }

+ Here is the caller graph for this function:

Member Data Documentation

AlterType com.mapd.parser.extension.ddl.SqlAlterServer.alterType
private
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 16 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: