vishnu.parser.statements
Class MultipleInsertStatement

java.lang.Object
  extended by vishnu.parser.statements.MultipleAbstractStatement
      extended by vishnu.parser.statements.MultipleInsertStatement
All Implemented Interfaces:
SQLStatement

public class MultipleInsertStatement
extends MultipleAbstractStatement

Esta clase modela el INSERT INTO table (SELECT ...) de SQL.

Author:
Mariano Tepper
 

Field Summary
 
Fields inherited from class vishnu.parser.statements.MultipleAbstractStatement
selectStatement, tableName
 
Constructor Summary
MultipleInsertStatement(java.lang.String name, SelectStatement statement)
          Crea un INSERT sobre la tabla name usando los registros obtenidos de ejecutar el comando SQL statement.
 
Method Summary
 StatementPerformer getPerformer()
           
 
Methods inherited from class vishnu.parser.statements.MultipleAbstractStatement
getSelectStatement, getTableName, isQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleInsertStatement

public MultipleInsertStatement(java.lang.String name,
                               SelectStatement statement)
Crea un INSERT sobre la tabla name usando los registros obtenidos de ejecutar el comando SQL statement.

Method Detail

getPerformer

public StatementPerformer getPerformer()
Specified by:
getPerformer in interface SQLStatement
Specified by:
getPerformer in class MultipleAbstractStatement