## Uses of Interface
org.apache.cayenne.access.OperationObserver

- Packages that use OperationObserver
  Package | Description
  --- | ---
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions.
  org.apache.cayenne.access.util |
  org.apache.cayenne.dba.sqlserver | MS SQLServer DbAdapter.
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- - ### Uses of OperationObserver in org.apache.cayenne.access

    Classes in org.apache.cayenne.access that implement OperationObserver
    Modifier and Type | Class and Description
    --- | ---
    `class` | `QueryResult` QueryResult encapsulates a result of execution of zero or more queries using QueryEngine.

    Methods in org.apache.cayenne.access with parameters of type OperationObserver
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataDomain.`performQueries(Collection<? extends Query> queries, OperationObserver callback)` Routes queries to appropriate DataNodes for execution.
    `void` | DataNode.`performQueries(Collection<? extends Query> queries, OperationObserver callback)` Runs queries using Connection obtained from internal DataSource.
    `void` | QueryEngine.`performQueries(Collection<? extends Query> queries, OperationObserver resultConsumer)` Executes a list of queries wrapping them in its own transaction.

  - ### Uses of OperationObserver in org.apache.cayenne.access.jdbc

    Methods in org.apache.cayenne.access.jdbc with parameters of type OperationObserver
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SQLTemplateAction.`execute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts)`
    `void` | BatchAction.`performAction(Connection connection, OperationObserver observer)`
    `void` | EJBQLAction.`performAction(Connection connection, OperationObserver observer)`
    `void` | ProcedureAction.`performAction(Connection connection, OperationObserver observer)`
    `void` | SelectAction.`performAction(Connection connection, OperationObserver observer)`
    `void` | SQLTemplateAction.`performAction(Connection connection, OperationObserver callback)` Runs a SQLTemplate query, collecting all results.
    `protected void` | BatchAction.`processGeneratedKeys(Statement statement, OperationObserver observer)` Implements generated keys extraction supported in JDBC 3.0 specification.
    `protected void` | SQLTemplateAction.`processSelectResult(SQLStatement compiled, Connection connection, Statement statement, ResultSet resultSet, OperationObserver callback, long startTime)`
    `protected void` | ProcedureAction.`readProcedureOutParameters(CallableStatement statement, OperationObserver delegate)` Helper method that reads OUT parameters of a CallableStatement.
    `protected void` | BaseSQLAction.`readResultSet(ResultSet resultSet, RowDescriptor descriptor, Query query, OperationObserver delegate)` Helper method to process a ResultSet.
    `protected void` | BatchAction.`runAsBatch(Connection con, BatchQueryBuilder queryBuilder, OperationObserver delegate)`
    `protected void` | BatchAction.`runAsIndividualQueries(Connection connection, BatchQueryBuilder queryBuilder, OperationObserver delegate, boolean generatesKeys)` Executes batch as individual queries over the same prepared statement.

  - ### Uses of OperationObserver in org.apache.cayenne.access.util

    Classes in org.apache.cayenne.access.util that implement OperationObserver
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultOperationObserver` Simple implementation of OperationObserver interface.
    `class` | `IteratedSelectObserver` OperationObserver that is used to track the execution of SelectQueries with results returned as ResultIterator.

  - ### Uses of OperationObserver in org.apache.cayenne.dba.sqlserver

    Methods in org.apache.cayenne.dba.sqlserver with parameters of type OperationObserver
    Modifier and Type | Method and Description
    --- | ---
    `void` | SQLServerBatchAction.`performAction(Connection connection, OperationObserver observer)`
    `void` | SQLServerProcedureAction.`performAction(Connection connection, OperationObserver observer)`

  - ### Uses of OperationObserver in org.apache.cayenne.query

    Methods in org.apache.cayenne.query with parameters of type OperationObserver
    Modifier and Type | Method and Description
    --- | ---
    `void` | SQLAction.`performAction(Connection connection, OperationObserver observer)` Executes a query using a strategy defined by the implementation.

Copyright © 2001–2014 Apache Cayenne. All rights reserved.