Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.query
Class AbstractQuerySelection

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

public abstract class AbstractQuerySelection
extends Object
implements QuerySelection

AbstractQuerySelection is the basis of query selections in this package.


Constructor Summary
protected AbstractQuerySelection()
          Constructs an AbstractQuerySelection.
 
Method Summary
 OlapCellSet resolveCellSet(Connection connection)
          Retrieves the selection result as an OlapCellSet.
 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

AbstractQuerySelection

protected AbstractQuerySelection()
Constructs an AbstractQuerySelection.

Method Detail

resolveCellSet

public final OlapCellSet resolveCellSet(Connection connection)
                                 throws DataSourceException
Retrieves the selection result as an OlapCellSet.

Specified by:
resolveCellSet in interface QuerySelection
Parameters:
connection - the connection to the datasource
Returns:
the olap cell 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.