Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.query
Class DefaultQuerySelection

java.lang.Object
  extended by com.citra.pivot.olap.query.AbstractQuerySelection
      extended by com.citra.pivot.olap.query.DefaultQuerySelection
All Implemented Interfaces:
OlapSelection, QuerySelection

public final class DefaultQuerySelection
extends AbstractQuerySelection

DefaultQuerySelection is the selection that returns the results from a query to a data source.


Field Summary
protected  AxisList axisSetSelections
          a list of selections on an axis
protected  OlapCube cube
          the cube the query is run against
protected  TupleSelection where
          a tuple used as the filter conditions
protected  SetSelectionList withSetSelections
          a list of sets that will be evaluated first
 
Constructor Summary
protected DefaultQuerySelection()
          Constructs a DefaultQuerySelection.
  DefaultQuerySelection(List withSetSelections, List axisSetSelections, OlapCube cube, TupleSelection where)
          Constructs a DefaultQuerySelection.
 
Method Summary
 AxisList getAxisSetSelections()
          Returns the list of axis set selections.
 OlapCube getCube()
          Returns the cube the query is run against.
 TupleSelection getWhereSelection()
          Returns the tuple used as the filter conditions.
 SetSelectionList getWithSet()
          Returns a list of sets that will be evaluated first.
 
Methods inherited from class com.citra.pivot.olap.query.AbstractQuerySelection
resolveCellSet, resolveSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

withSetSelections

protected SetSelectionList withSetSelections
a list of sets that will be evaluated first


axisSetSelections

protected AxisList axisSetSelections
a list of selections on an axis


cube

protected OlapCube cube
the cube the query is run against


where

protected TupleSelection where
a tuple used as the filter conditions

Constructor Detail

DefaultQuerySelection

protected DefaultQuerySelection()
Constructs a DefaultQuerySelection.


DefaultQuerySelection

public DefaultQuerySelection(List withSetSelections,
                             List axisSetSelections,
                             OlapCube cube,
                             TupleSelection where)
Constructs a DefaultQuerySelection.

Method Detail

getAxisSetSelections

public AxisList getAxisSetSelections()
Returns the list of axis set selections.

Returns:
the list of axis selections

getCube

public OlapCube getCube()
Returns the cube the query is run against.

Returns:
the query's cube

getWhereSelection

public TupleSelection getWhereSelection()
Returns the tuple used as the filter conditions.

Returns:
the tuple used as the filter conditions

getWithSet

public SetSelectionList getWithSet()
Returns a list of sets that will be evaluated first.

Returns:
a list of sets that will be evaluated first

Copyright © 2011 Citra Technologies. All Rights Reserved.