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

Public Member Functions

void setPos (final SqlParserPos pos)
 
void setTableName (final String tableName)
 
void alterOptions ()
 
void alterTableName (final String newTableName)
 
void alterColumnName (final String columnName, final String newColumnName)
 
void addColumnList (final SqlNodeList columnList)
 
void addAlterColumnList (final SqlNodeList columnList)
 
void dropColumn (final SqlNodeList columnList)
 
SqlAlterTable 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 columnName
 
String newColumnName
 
SqlNodeList columnList
 

Additional Inherited Members

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

Detailed Description

Definition at line 83 of file SqlAlterTable.java.

Member Function Documentation

void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.addAlterColumnList ( final SqlNodeList  columnList)
inline
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.addColumnList ( final SqlNodeList  columnList)
inline
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.alterColumnName ( final String  columnName,
final String  newColumnName 
)
inline
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.alterOptions ( )
inline

Definition at line 100 of file SqlAlterTable.java.

References com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.ALTER_OPTIONS.

100  {
101  this.alterType = AlterType.ALTER_OPTIONS;
102  // Options should be read in directly to base class
103  }
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.alterTableName ( final String  newTableName)
inline
SqlAlterTable com.mapd.parser.extension.ddl.SqlAlterTable.Builder.build ( )
inline

Definition at line 131 of file SqlAlterTable.java.

References com.mapd.parser.extension.ddl.SqlAlterTable.Builder.alterType, com.mapd.parser.extension.ddl.SqlAlterTable.Builder.columnList, com.mapd.parser.extension.ddl.SqlAlterTable.Builder.columnName, com.mapd.parser.extension.ddl.SqlAlterTable.Builder.newColumnName, com.mapd.parser.extension.ddl.SqlAlterTable.Builder.newTableName, com.mapd.parser.extension.ddl.SqlAlterTable.Builder.pos, com.mapd.parser.extension.ddl.SqlAlterTable.SqlAlterTable(), and com.mapd.parser.extension.ddl.SqlAlterTable.Builder.tableName.

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.dropColumn ( final SqlNodeList  columnList)
inline
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.setPos ( final SqlParserPos  pos)
inline

Definition at line 92 of file SqlAlterTable.java.

References com.mapd.parser.extension.ddl.SqlAlterTable.Builder.pos.

92  {
93  this.pos = pos;
94  }
void com.mapd.parser.extension.ddl.SqlAlterTable.Builder.setTableName ( final String  tableName)
inline

Member Data Documentation

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

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