net.sf.letsparty.statement
Class DeleteHandler

java.lang.Object
  extended bynet.sf.letsparty.driver.BasicPreparedStatement
      extended bynet.sf.letsparty.statement.DeleteHandler
All Implemented Interfaces:
java.sql.PreparedStatement, java.sql.Statement

public class DeleteHandler
extends BasicPreparedStatement


Field Summary
protected  net.sf.jsqlparser.statement.delete.Delete delete
           
protected  PartExpressionVisitor partExpressionVisitor
           
protected  PartTableVisitor partTableVisitor
           
protected  java.lang.String sqlQuery
           
 
Fields inherited from class net.sf.letsparty.driver.BasicPreparedStatement
connection, jdbcParsHandler
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
DeleteHandler(PartTableVisitor partTableVisitor, net.sf.jsqlparser.statement.delete.Delete delete, java.lang.String sqlQuery, PartExpressionVisitor partExpressionVisitor, Connection connection)
           
 
Method Summary
 void addBatch()
           
 void addBatch(java.lang.String arg0)
           
 void cancel()
           
 void clearBatch()
           
 void clearWarnings()
           
 void close()
           
 boolean execute()
           
 int[] executeBatch()
           
 java.sql.ResultSet executeQuery()
           
 java.sql.ResultSet executeQuery(java.lang.String arg0)
           
 int executeUpdate()
           
 java.sql.ResultSet getGeneratedKeys()
           
 java.sql.ResultSetMetaData getMetaData()
           
 boolean getMoreResults()
           
 boolean getMoreResults(int arg0)
           
 java.sql.ParameterMetaData getParameterMetaData()
           
 java.sql.ResultSet getResultSet()
           
 int getResultSetConcurrency()
           
 int getResultSetHoldability()
           
 int getResultSetType()
           
 int getUpdateCount()
           
 java.sql.SQLWarning getWarnings()
           
 
Methods inherited from class net.sf.letsparty.driver.BasicPreparedStatement
clearParameters, constructPartitionedTableSuffixList, constructTableListOfTables, execute, execute, execute, execute, executeChangingName, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getQueryTimeout, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setParameters, setParameters, setParameters, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delete

protected net.sf.jsqlparser.statement.delete.Delete delete

partExpressionVisitor

protected PartExpressionVisitor partExpressionVisitor

partTableVisitor

protected PartTableVisitor partTableVisitor

sqlQuery

protected java.lang.String sqlQuery
Constructor Detail

DeleteHandler

public DeleteHandler(PartTableVisitor partTableVisitor,
                     net.sf.jsqlparser.statement.delete.Delete delete,
                     java.lang.String sqlQuery,
                     PartExpressionVisitor partExpressionVisitor,
                     Connection connection)
Method Detail

addBatch

public void addBatch()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

execute

public boolean execute()
                throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getParameterMetaData

public java.sql.ParameterMetaData getParameterMetaData()
                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

addBatch

public void addBatch(java.lang.String arg0)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

cancel

public void cancel()
            throws java.sql.SQLException
Throws:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
Throws:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getMoreResults

public boolean getMoreResults()
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getMoreResults

public boolean getMoreResults(int arg0)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSetType

public int getResultSetType()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getUpdateCount

public int getUpdateCount()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String arg0)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException