mondrian.rolap.agg
Interface QuerySpec

All Known Implementing Classes:
AbstractQuerySpec, DrillThroughQuerySpec, SegmentArrayQuerySpec

public interface QuerySpec

Contains the information necessary to generate a SQL statement to retrieve a set of cells.

Author:
jhyde, Richard M. Emberson
 

Method Summary
 String generateSqlQuery()
           
 String getColumnAlias(int i)
           
 StarColumnPredicate getColumnPredicate(int i)
          Returns the predicate on the ith column.
 RolapStar.Column[] getColumns()
           
 RolapStar.Measure getMeasure(int i)
           
 String getMeasureAlias(int i)
           
 int getMeasureCount()
           
 RolapStar getStar()
           
 

Method Detail

getStar

RolapStar getStar()

getMeasureCount

int getMeasureCount()

getMeasure

RolapStar.Measure getMeasure(int i)

getMeasureAlias

String getMeasureAlias(int i)

getColumns

RolapStar.Column[] getColumns()

getColumnAlias

String getColumnAlias(int i)

getColumnPredicate

StarColumnPredicate getColumnPredicate(int i)
Returns the predicate on the ith column.

If the column is unconstrained, returns LiteralStarPredicate(true).

Parameters:
i - Column ordinal
Returns:
Constraint on column

generateSqlQuery

String generateSqlQuery()

SourceForge.net_Logo