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

Classes

class  Builder
 

Public Member Functions

 SqlCreateUserMapping (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 user
 
String command
 
Map< String, String > options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information for the CREATE USER MAPPING DDL command.

Definition at line 18 of file SqlCreateUserMapping.java.

Constructor & Destructor Documentation

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

Definition at line 60 of file SqlCreateUserMapping.java.

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

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

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

+ Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 74 of file SqlCreateUserMapping.java.

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

Definition at line 79 of file SqlCreateUserMapping.java.

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

79  {
80  return toJsonString();
81  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 56 of file SqlCreateUserMapping.java.

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

Definition at line 19 of file SqlCreateUserMapping.java.

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

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

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