Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.logical
Class AbstractLogicalSelection

java.lang.Object
  extended by com.citra.pivot.olap.logical.AbstractLogicalSelection
All Implemented Interfaces:
OlapSelection, LogicalSelection
Direct Known Subclasses:
IsAncestorSelection, IsMemberSelection

public abstract class AbstractLogicalSelection
extends Object
implements LogicalSelection

AbstractLogicalSelection is the basis of logical selections in this package.


Constructor Summary
protected AbstractLogicalSelection()
          Constructs an AbstractLogicalSelection.
 
Method Summary
 Boolean resolveLogical(Connection connection)
          Retrieves the selection result as a boolean.
 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

AbstractLogicalSelection

protected AbstractLogicalSelection()
Constructs an AbstractLogicalSelection.

Method Detail

resolveLogical

public final Boolean resolveLogical(Connection connection)
                             throws DataSourceException
Retrieves the selection result as a boolean.

Specified by:
resolveLogical in interface LogicalSelection
Parameters:
connection - the connection to the datasource
Returns:
the boolean 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.