org.wso2.carbon.dataservices.sql.driver.query.update
Class CustomUpdateQuery

java.lang.Object
  extended by org.wso2.carbon.dataservices.sql.driver.query.Query
      extended by org.wso2.carbon.dataservices.sql.driver.query.ConditionalQuery
          extended by org.wso2.carbon.dataservices.sql.driver.query.update.UpdateQuery
              extended by org.wso2.carbon.dataservices.sql.driver.query.update.CustomUpdateQuery

public class CustomUpdateQuery
extends UpdateQuery

This class represents a select query for custom data sources.


Constructor Summary
CustomUpdateQuery(Statement stmt)
           
 
Method Summary
 boolean execute()
           
 ResultSet executeQuery()
           
 int executeUpdate()
           
 
Methods inherited from class org.wso2.carbon.dataservices.sql.driver.query.update.UpdateQuery
getTargetColumns, getTargetTable, getTargetTableName
 
Methods inherited from class org.wso2.carbon.dataservices.sql.driver.query.ConditionalQuery
getCondition, processConditions
 
Methods inherited from class org.wso2.carbon.dataservices.sql.driver.query.Query
findParam, getConnection, getParameters, getProcessedTokens, getStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomUpdateQuery

public CustomUpdateQuery(Statement stmt)
                  throws SQLException
Throws:
SQLException
Method Detail

executeQuery

public ResultSet executeQuery()
                       throws SQLException
Specified by:
executeQuery in class Query
Throws:
SQLException

executeUpdate

public int executeUpdate()
                  throws SQLException
Specified by:
executeUpdate in class Query
Throws:
SQLException

execute

public boolean execute()
                throws SQLException
Specified by:
execute in class Query
Throws:
SQLException


Copyright © 2015 WSO2. All rights reserved.