|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor
org.apache.openjpa.jdbc.kernel.SQLStoreQuery.SQLExecutor
protected static class SQLStoreQuery.SQLExecutor
Executes the filter as a SQL query.
Constructor Summary | |
---|---|
SQLStoreQuery.SQLExecutor(SQLStoreQuery q,
ClassMetaData candidate)
|
Method Summary | |
---|---|
protected java.sql.ResultSet |
executeQuery(JDBCStore store,
java.sql.Connection conn,
java.sql.PreparedStatement stmnt,
SQLBuffer buf,
java.util.List paramList)
This method is to provide override for non-JDBC or JDBC-like implementation of executing query. |
ResultObjectProvider |
executeQuery(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range)
|
protected int |
executeUpdate(JDBCStore store,
java.sql.Connection conn,
java.sql.PreparedStatement stmnt,
SQLBuffer buf)
This method is to provide override for non-JDBC or JDBC-like implementation of executing update. |
java.lang.Number |
executeUpdate(StoreQuery q,
java.lang.Object[] params)
|
java.lang.String[] |
getDataStoreActions(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range)
|
int |
getOperation(StoreQuery q)
|
boolean |
isPacking(StoreQuery q)
|
protected java.sql.PreparedStatement |
prepareCall(java.sql.Connection conn,
SQLBuffer buf)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing call statement. |
protected java.sql.PreparedStatement |
prepareCall(java.sql.Connection conn,
SQLBuffer buf,
JDBCFetchConfiguration fetch,
int rsType,
int rsConcur)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing call statement. |
protected java.sql.PreparedStatement |
prepareStatement(java.sql.Connection conn,
SQLBuffer buf)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing statement. |
protected java.sql.PreparedStatement |
prepareStatement(java.sql.Connection conn,
SQLBuffer buf,
JDBCFetchConfiguration fetch,
int rsType,
int rsConcur)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing statement. |
Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor |
---|
executeDelete, getAccessPathMetaDatas, getAlias, getAscending, getOrderingValue, getParameterTypes, getProjectionAliases, getProjectionTypes, getRange, getResultClass, getUpdates, hasGrouping, isAggregate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLStoreQuery.SQLExecutor(SQLStoreQuery q, ClassMetaData candidate)
Method Detail |
---|
public int getOperation(StoreQuery q)
getOperation
in interface StoreQuery.Executor
getOperation
in class AbstractStoreQuery.AbstractExecutor
public java.lang.Number executeUpdate(StoreQuery q, java.lang.Object[] params)
executeUpdate
in interface StoreQuery.Executor
executeUpdate
in class AbstractStoreQuery.AbstractExecutor
public ResultObjectProvider executeQuery(StoreQuery q, java.lang.Object[] params, StoreQuery.Range range)
public java.lang.String[] getDataStoreActions(StoreQuery q, java.lang.Object[] params, StoreQuery.Range range)
getDataStoreActions
in interface StoreQuery.Executor
getDataStoreActions
in class AbstractStoreQuery.AbstractExecutor
public boolean isPacking(StoreQuery q)
isPacking
in interface StoreQuery.Executor
isPacking
in class AbstractStoreQuery.AbstractExecutor
protected java.sql.PreparedStatement prepareCall(java.sql.Connection conn, SQLBuffer buf) throws java.sql.SQLException
java.sql.SQLException
protected int executeUpdate(JDBCStore store, java.sql.Connection conn, java.sql.PreparedStatement stmnt, SQLBuffer buf) throws java.sql.SQLException
java.sql.SQLException
protected java.sql.PreparedStatement prepareCall(java.sql.Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws java.sql.SQLException
java.sql.SQLException
protected java.sql.PreparedStatement prepareStatement(java.sql.Connection conn, SQLBuffer buf) throws java.sql.SQLException
java.sql.SQLException
protected java.sql.PreparedStatement prepareStatement(java.sql.Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur) throws java.sql.SQLException
java.sql.SQLException
protected java.sql.ResultSet executeQuery(JDBCStore store, java.sql.Connection conn, java.sql.PreparedStatement stmnt, SQLBuffer buf, java.util.List paramList) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |