Query and QueryManager Architecture

Together the QueryManager bean and the Query object provide data source services to the presentation beans and the dimension list beans.

The QueryManager bean and the Query object assist users by providing the following kinds of data services:

Database support

The QueryManager bean can support multiple Query objects. QueryManager has a MetadataManager property that is set with a reference to a MetadataManager bean. Through this reference, the QueryManager provides database services to all the Query objects that it supports.

Each Query object has a QueryManager property that contains a reference to the QueryManager that supports it.

Data interfaces of the Query bean

The Query object implements the following interfaces for its interactions with other objects.

The following list provides a brief description of how each data interface is used:

Support for the development of queries

Methods of the Query object make the query and calculation capabilities of the OLAP API accessible to any application that wants to develop queries.

Within BI Beans, QueryBuilder and CalcBuilder define queries by developing selections that consists of steps. The Query object evaluates each step of a query or a calculation and translates it into OLAP API calls.

If an application wants to develop queries at runtime without using QueryBuilder, then the application must create selections programmatically and apply these selections to the Query object.

Characteristics of the Query Object
Characteristics of the QueryManager Bean

Creating Selections Programmatically

Managing State in an HTML-Client Application