The following classes are the main classes for the QueryManager bean:
oracle.dss.dataSource.client.QueryManager.java
oracle.dss.dataSource.QueryManaagerServer.java
The QueryManager
object has a MetadataManager
property that you set with a reference to a MetadataManager
object. Through this reference, the QueryManager provides database services to the queries that it supports.
The QueryManager has the following methods that enable it to create and support Query
objects:
addQuery
-- Adds a specified Query
object to the list of queries that are tracked by a QueryManager. This method is required only for Query
objects that were not created through the createQuery
method of the QueryManager.
close
-- Closes any open Query
object references for proper clean up and shuts down the QueryManager.
closeQueries
-- Closes the Query
objects in a specified list and releases the associated storage.
createQuery
-- Creates an empty Query
object.
getQueries
-- Retrieves all the Query
objects that are being tracked by the QueryManager.
removeQuery
-- Removes a specified Query
object from the list of queries that are tracked by a QueryManager and releases the storage that was associated with the query.