The QueryBuilder bean and the Query
object interact through Selection
objects that are aggregated by the Query
object. The Selection
object is defined around the concept of a step, which is represented by an instance of a Step
class. Selections consist of an ordered sequence of steps; each step describes a particular operation in the evaluation of the query.
The CalcBuilder bean lets users define new measures that represent calculations. A calculation is defined as a CalcStep
object. After a new measure is defined and saved in the BI Beans Catalog, it can appear as an item that is available for selection in the QueryBuilder.
QueryBuilder and CalcBuilder are beans that use a similar architecture for establishing their context, container, and panels. The panels of both QueryBuilder and CalcBuilder can be displayed in wizard mode or in tabbed mode.
Because of the common architecture of QueryBuilder and CalcBuilder, you can use a similar approach when you want to accomplish any of the following tasks on either of these builder beans: