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

Public Member Functions

void setPos (final SqlParserPos pos)
 
void setTableName (final String tableName)
 
void alterOptions (final Map< String, String > options)
 
void alterTableName (final String newName)
 
void alterColumnName (final String oldName, final String newName)
 
SqlAlterForeignTable build ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.SqlOptionsBuilder
void addOption (final String attribute, final String value)
 

Private Attributes

SqlParserPos pos
 
AlterType alterType
 
String tableName
 
String newTableName
 
String oldColumnName
 
String newColumnName
 

Additional Inherited Members

- Protected Attributes inherited from com.mapd.parser.extension.ddl.SqlOptionsBuilder
Map< String, String > options
 

Detailed Description

Definition at line 35 of file SqlAlterForeignTable.java.

Member Function Documentation

void com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.alterColumnName ( final String  oldName,
final String  newName 
)
inline

Definition at line 61 of file SqlAlterForeignTable.java.

References com.mapd.parser.extension.ddl.SqlAlterForeignTable.AlterType.RENAME_COLUMN.

61  {
62  this.alterType = AlterType.RENAME_COLUMN;
63  this.oldColumnName = oldName;
64  this.newColumnName = newName;
65  }
void com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.alterOptions ( final Map< String, String >  options)
inline
void com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.alterTableName ( final String  newName)
inline
SqlAlterForeignTable com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.build ( )
inline

Definition at line 67 of file SqlAlterForeignTable.java.

References com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.alterType, com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.newColumnName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.newTableName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.oldColumnName, com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.pos, com.mapd.parser.extension.ddl.SqlAlterForeignTable.SqlAlterForeignTable(), and com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.tableName.

67  {
68  return new SqlAlterForeignTable(pos,
69  alterType,
70  tableName,
74  super.options);
75  }
SqlAlterForeignTable(final SqlParserPos pos, final AlterType alterType, final String tableName, final String newTableName, final String oldColumnName, final String newColumnName, final Map< String, String > options)

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.setPos ( final SqlParserPos  pos)
inline
void com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.setTableName ( final String  tableName)
inline

Member Data Documentation

AlterType com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.alterType
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.newColumnName
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.newTableName
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.oldColumnName
private
SqlParserPos com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.pos
private
String com.mapd.parser.extension.ddl.SqlAlterForeignTable.Builder.tableName
private

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