Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.tuple
Class AbstractTupleSelection

java.lang.Object
  extended by com.citra.pivot.olap.tuple.AbstractTupleSelection
All Implemented Interfaces:
OlapSelection, TupleSelection
Direct Known Subclasses:
DefaultTupleSelection, ItemTupleSelection, SelfTupleSelection, UnionTupleSelection

public abstract class AbstractTupleSelection
extends Object
implements TupleSelection

AbstractTupleSelection is the basis of tuple selections in this package.


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

Constructor Detail

AbstractTupleSelection

protected AbstractTupleSelection()
Constructs an AbstractTupleSelection.

Method Detail

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

resolveTuple

public final OlapTuple resolveTuple(Connection connection)
                             throws DataSourceException
Retrieves the selection result as an OlapTuple.

Specified by:
resolveTuple in interface TupleSelection
Parameters:
connection - the connection to the datasource
Returns:
the olap tuple resolved
Throws:
DataSourceException

Copyright © 2011 Citra Technologies. All Rights Reserved.