OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 32 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 58 of file SqlAlterForeignTable.java.

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

58  {
59  this.alterType = AlterType.RENAME_COLUMN;
60  this.oldColumnName = oldName;
61  this.newColumnName = newName;
62  }
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 64 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.

64  {
65  return new SqlAlterForeignTable(pos,
66  alterType,
67  tableName,
71  super.options);
72  }
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: