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

Public Member Functions

 SqlCreateForeignTable (final SqlParserPos pos, final boolean ifNotExists, final SqlIdentifier tableName, final SqlIdentifier serverName, final OmniSqlSanitizedString schemaName, final List< OmniSqlColumn > columns, final OmniSqlOptionsMap options)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

String command
 
boolean ifNotExists
 
String tableName
 
String serverName
 
String schemaName
 
List< OmniSqlColumn > columns
 
OmniSqlOptionsMap options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Definition at line 18 of file SqlCreateForeignTable.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlCreateForeignTable.SqlCreateForeignTable ( final SqlParserPos  pos,
final boolean  ifNotExists,
final SqlIdentifier  tableName,
final SqlIdentifier  serverName,
final OmniSqlSanitizedString  schemaName,
final List< OmniSqlColumn >  columns,
final OmniSqlOptionsMap  options 
)
inline

Definition at line 39 of file SqlCreateForeignTable.java.

References com.mapd.parser.extension.ddl.SqlCreateForeignTable.columns, com.mapd.parser.extension.ddl.SqlCreateForeignTable.ifNotExists, com.mapd.parser.extension.ddl.SqlCreateForeignTable.OPERATOR, and com.mapd.parser.extension.ddl.SqlCreateForeignTable.options.

45  {
46  super(OPERATOR, pos, false, ifNotExists);
47  requireNonNull(tableName);
48  requireNonNull(serverName);
49  this.command = OPERATOR.getName();
50  this.ifNotExists = ifNotExists;
51  this.tableName = tableName.toString();
52  this.serverName = serverName.toString();
53  // Schema is optional and could be null.
54  this.schemaName = (schemaName == null) ? null : schemaName.toString();
55  this.columns = columns;
56  this.options = options;
57  }

Member Function Documentation

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

Definition at line 60 of file SqlCreateForeignTable.java.

60  {
61  return null;
62  }
String com.mapd.parser.extension.ddl.SqlCreateForeignTable.toString ( )
inline

Definition at line 65 of file SqlCreateForeignTable.java.

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

65  {
66  return toJsonString();
67  }

+ Here is the call graph for this function:

Member Data Documentation

List<OmniSqlColumn> com.mapd.parser.extension.ddl.SqlCreateForeignTable.columns
private
String com.mapd.parser.extension.ddl.SqlCreateForeignTable.command
private

Definition at line 25 of file SqlCreateForeignTable.java.

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

Definition at line 19 of file SqlCreateForeignTable.java.

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

OmniSqlOptionsMap com.mapd.parser.extension.ddl.SqlCreateForeignTable.options
private
String com.mapd.parser.extension.ddl.SqlCreateForeignTable.schemaName
private

Definition at line 33 of file SqlCreateForeignTable.java.

String com.mapd.parser.extension.ddl.SqlCreateForeignTable.serverName
private

Definition at line 31 of file SqlCreateForeignTable.java.

String com.mapd.parser.extension.ddl.SqlCreateForeignTable.tableName
private

Definition at line 29 of file SqlCreateForeignTable.java.


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