Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataSource.common
Interface QueryManager

All Known Implementing Classes:
QueryManager, QueryManagerServer

public interface QueryManager

Interface representing some operations that are common to the client and the middle tier but not necessarily promoted through the remote interface


Method Summary
 int addQuery(Query query)
          Add the given Query into the list of Queries tracked by the QueryManager and therefore allow it to have state and evaluate.
 boolean cancel()
          Cancel current processes on this connection, if possible
 void closeQueries(com.sun.java.util.collections.List queryList)
          Close a whole set of queries
 Query createQuery()
          Creates an empty query
 java.lang.String getName()
          Get the QueryManager name
 java.util.Enumeration getQueries()
          Get all of the queries in this QueryManager
 void removeQuery(Query query)
          Remove the given Query from the list of tracked Queries and clean up storage associated with it.

 

Method Detail

addQuery

public int addQuery(Query query)
Add the given Query into the list of Queries tracked by the QueryManager and therefore allow it to have state and evaluate.
Parameters:
query - Query to affiliate with middle tier state
Returns:
query ID assigned to this query

removeQuery

public void removeQuery(Query query)
Remove the given Query from the list of tracked Queries and clean up storage associated with it.
Parameters:
query - Query to remove

getQueries

public java.util.Enumeration getQueries()
Get all of the queries in this QueryManager
Returns:
enumeration of queries

createQuery

public Query createQuery()
Creates an empty query
Returns:
uninitialized Query object

closeQueries

public void closeQueries(com.sun.java.util.collections.List queryList)
Close a whole set of queries
Parameters:
queryList - List of query objects to close in bulk

getName

public java.lang.String getName()
Get the QueryManager name
Returns:
name

cancel

public boolean cancel()
Cancel current processes on this connection, if possible
Returns:
true if the code was found to send an interrupt

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.