|
Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.toplink.internal.queryframework.DatabaseQueryMechanism
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism
oracle.toplink.sdk.SDKQueryMechanism
oracle.toplink.eis
The SDKQueryMechanism class implements the
DatabaseQueryMechanism protocol by redirecting
all queries to a collection
of calls that is provided to the mechanism when it is built.
So just about everything ends up going through
executeSelectCalls() or
executeNoSelectCalls(), which, in turn, send the appropriate
message to the SDKAccessor.
SDKAccessor,
SDKCall,
AbstractSDKCall,
Serialized Form| Constructor Summary | |
SDKQueryMechanism(DatabaseQuery query)
Deprecated. Construct a new mechanism for the specified query. |
|
SDKQueryMechanism(DatabaseQuery query,
AbstractSDKCall call)
Deprecated. Construct a new mechanism for the specified query and call. |
|
| Method Summary | |
oracle.toplink.internal.databaseaccess.DatabaseCall |
cursorSelectAllRows()
Deprecated. |
void |
prepareCursorSelectAllRows()
Deprecated. |
void |
prepareStartCursor()
Deprecated. Prepare for a cursored select. |
void |
setCall(oracle.toplink.internal.databaseaccess.DatasourceCall call)
Deprecated. Set the call. |
oracle.toplink.internal.databaseaccess.DatabaseCall |
startCursor()
Deprecated. Start reading all the rows from the database for a cursored stream or scrollable cursor. |
| Methods inherited from class oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism |
addCall, deleteAll, deleteObject, executeNoSelect, executeNoSelectCall, executeSelect, executeSelectCall, getCall, getCalls, hasMultipleCalls, insertObject, isCallQueryMechanism, prepare, prepareCall, prepareDeleteAll, prepareDeleteObject, prepareDoesExist, prepareExecuteNoSelect, prepareExecuteSelect, prepareInsertObject, prepareReportQuerySelectAllRows, prepareReportQuerySubSelect, prepareSelectAllRows, prepareSelectOneRow, prepareUpdateAll, prepareUpdateObject, selectAllReportQueryRows, selectAllRows, selectOneRow, selectRowForDoesExist, updateAll, updateObject |
| Methods inherited from class oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
buildObjectsFromRows, buildSelectionCriteria, checkCacheForObject, clone, executeWrite, executeWriteWithChangeSet, getModifyRow, getQuery, getSelectionCriteria, insertObject, insertObjectForWrite, insertObjectForWriteWithChangeSet, isEJBQLCallQueryMechanism, isExpressionQueryMechanism, isQueryByExampleMechanism, isStatementQueryMechanism, prepareForExecution, setQuery, updateChangeSet, updateObjectForWrite, updateObjectForWriteWithChangeSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SDKQueryMechanism(DatabaseQuery query)
public SDKQueryMechanism(DatabaseQuery query,
AbstractSDKCall call)
| Method Detail |
public void setCall(oracle.toplink.internal.databaseaccess.DatasourceCall call)
public oracle.toplink.internal.databaseaccess.DatabaseCall cursorSelectAllRows()
throws SDKDataStoreException
SDKDataStoreException
public void prepareCursorSelectAllRows()
throws SDKQueryException
SDKQueryException
public void prepareStartCursor()
throws SDKQueryException
SDKQueryException - if something is amiss
public oracle.toplink.internal.databaseaccess.DatabaseCall startCursor()
throws SDKDataStoreException
Assume the calls are correct.
Cursors are not currently supported.
SDKDataStoreException - if an error has occurred on the "data store"
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||