Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.set
Class AbstractSetSelection

java.lang.Object
  extended by com.citra.pivot.olap.set.AbstractSetSelection
All Implemented Interfaces:
OlapSelection, SetSelection
Direct Known Subclasses:
AddCalculatedMembersSetSelection, AllMembersSetSelection, BottomCountSetSelection, CreateSetSelection, CrossSetSelection, DescendantsSetSelection, DistinctSetSelection, DropSetSelection, EmptySetSelection, ExceptSetSelection, ExtractSetSelection, FilterSetSelection, GenerateSetSelection, HierarchizeSetSelection, IntersectSetSelection, MembersSetSelection, NamedRefSetSelection, NamedSetSelection, NonEmptyCrossJoinSetSelection, NonEmptySetSelection, OrderSetSelection, SelfSetSelection, SingleSetSelection, TopCountSetSelection, TupleSetSelection, UnionSetSelection, VisualTotalsSetSelection, WhereSetSelection

public abstract class AbstractSetSelection
extends Object
implements SetSelection

AbstractSetSelection is the basis of set selections in this package.


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

Constructor Detail

AbstractSetSelection

protected AbstractSetSelection()
Constructs an AbstractSetSelection.

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

resolveSet

public final OlapSet resolveSet(Connection connection)
                         throws DataSourceException
Retrieves the selection result as an OlapSet.

Specified by:
resolveSet in interface SetSelection
Parameters:
connection - the connection to the datasource
Returns:
the olap set resolved
Throws:
DataSourceException

Copyright © 2011 Citra Technologies. All Rights Reserved.