Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.axis
Class AbstractAxisSelection

java.lang.Object
  extended by com.citra.pivot.olap.axis.AbstractAxisSelection
All Implemented Interfaces:
AxisSelection, OlapSelection
Direct Known Subclasses:
DefaultAxisSelection

public abstract class AbstractAxisSelection
extends Object
implements AxisSelection

AbstractAxisSelection is the basis of axis selections in this package.


Constructor Summary
protected AbstractAxisSelection()
          Constructs an AbstractAxisSelection.
 
Method Summary
 AxisOlapSet resolveAxis(Connection connection)
          Retrieves the selection result as an AxisOlapSet.
 Object resolveSelection(Connection connection)
          Retrieves the result of the selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAxisSelection

protected AbstractAxisSelection()
Constructs an AbstractAxisSelection.

Method Detail

resolveAxis

public final AxisOlapSet resolveAxis(Connection connection)
                              throws DataSourceException
Retrieves the selection result as an AxisOlapSet.

Specified by:
resolveAxis in interface AxisSelection
Parameters:
connection - the connection to the datasource
Returns:
the olap axis set resolved
Throws:
DataSourceException

resolveSelection

public final Object resolveSelection(Connection connection)
                              throws DataSourceException
Retrieves the result of the selection.

Specified by:
resolveSelection in interface OlapSelection
Parameters:
connection - the datasource connection
Returns:
the selection's result
Throws:
DataSourceException

Copyright © 2011 Citra Technologies. All Rights Reserved.