|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.internal.queryframework.DatabaseQueryMechanism
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism
oracle.toplink.sdk.SDKQueryMechanism
Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.eis
public class SDKQueryMechanism
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 FormConstructor 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 | |
---|---|
DatabaseCall |
cursorSelectAllRows() Deprecated. Read all rows from the database using a cursored stream. |
void |
prepareCursorSelectAllRows() Deprecated. Pre-build configure the call. |
void |
prepareStartCursor() Deprecated. Prepare for a cursored select. |
void |
setCall(DatasourceCall call) Deprecated. Set the call. |
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, deleteAllUsingTempTables, executeNoSelect, executeNoSelectCall, getCall, getCalls, hasMultipleCalls, insertObject, isCallQueryMechanism, prepareDeleteAll, prepareDeleteObject, prepareDoesExist, prepareExecuteNoSelect, prepareExecuteSelect, prepareInsertObject, prepareReportQuerySelectAllRows, prepareReportQuerySubSelect, prepareSelectAllRows, prepareSelectOneRow, prepareUpdateAll, prepareUpdateObject, selectAllReportQueryRows, selectAllRows, selectOneRow, selectRowForDoesExist, updateAll, updateAllUsingTempTables, updateObject |
Methods inherited from class oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
---|
buildObjectsFromRows, buildSelectionCriteria, checkCacheForObject, clone, clone, executeWrite, executeWriteWithChangeSet, getModifyRow, getQuery, getSelectionCriteria, insertObject, insertObjectForWrite, isEJBQLCallQueryMechanism, isExpressionQueryMechanism, isQueryByExampleMechanism, isStatementQueryMechanism, 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(DatasourceCall call)
setCall
in class oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism
public DatabaseCall cursorSelectAllRows() throws SDKDataStoreException
cursorSelectAllRows
in class oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism
SDKDataStoreException
public void prepareCursorSelectAllRows() throws SDKQueryException
prepareCursorSelectAllRows
in class oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism
SDKQueryException
public void prepareStartCursor() throws SDKQueryException
SDKQueryException
- if something is amisspublic 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 |