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

Classes

enum  AlterType
 
class  Builder
 

Public Member Functions

 SqlAlterForeignTable (final SqlParserPos pos, final AlterType alterType, final String tableName, final String newTableName, final String oldColumnName, final String newColumnName, 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 tableName
 
String newTableName
 
String oldColumnName
 
String newColumnName
 
String command
 
Map< String, String > options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a ALTER FOREIGN TABLE DDL command.

Definition at line 19 of file SqlAlterForeignTable.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlAlterForeignTable.SqlAlterForeignTable ( final SqlParserPos  pos,
final AlterType  alterType,
final String  tableName,
final String  newTableName,
final String  oldColumnName,
final String  newColumnName,
final Map< String, String >  options 
)
inline

Definition at line 93 of file SqlAlterForeignTable.java.

References com.mapd.parser.extension.ddl.SqlAlterForeignTable.alterType, com.mapd.parser.extension.ddl.SqlAlterForeignTable.newColumnName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.newTableName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.oldColumnName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.OPERATOR, com.mapd.parser.extension.ddl.SqlAlterForeignTable.options, and com.mapd.parser.extension.ddl.SqlAlterForeignTable.tableName.

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

99  {
100  super(OPERATOR, pos);
101  this.alterType = alterType;
102  this.tableName = tableName;
103  this.newTableName = newTableName;
104  this.oldColumnName = oldColumnName;
105  this.newColumnName = newColumnName;
106  this.options = options;
107  this.command = OPERATOR.getName();
108  }

+ Here is the caller graph for this function:

Member Function Documentation

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

Definition at line 111 of file SqlAlterForeignTable.java.

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

Definition at line 116 of file SqlAlterForeignTable.java.

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

116  {
117  return toJsonString();
118  }

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 89 of file SqlAlterForeignTable.java.

String com.mapd.parser.extension.ddl.SqlAlterForeignTable.newColumnName
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.newTableName
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.oldColumnName
private
final SqlOperator com.mapd.parser.extension.ddl.SqlAlterForeignTable.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("ALTER_FOREIGN_TABLE", SqlKind.OTHER_DDL)

Definition at line 20 of file SqlAlterForeignTable.java.

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

Map<String, String> com.mapd.parser.extension.ddl.SqlAlterForeignTable.options
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.tableName
private

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