DSIExtFunctorFactory Class Reference

Implements the IFunctorFactory interface. More...

Inherits Simba::SQLEngine::IFunctorFactory.

List of all members.

Public Member Functions

virtual AutoPtr
< DSIExtBinaryValueFunctor
CreateBinaryArithmeticFunctor (SEArithmeticExprType in_arithExprType, SqlTypeMetadata *in_typeMeta)
 Given the arithmetic type and the SqlTypeMetadata, returns a DSIExtBinaryValueFunctor to be used for execution by SimbaEngine.
virtual AutoPtr
< DSIExtBinaryBooleanFunctor
CreateComparisonFunctor (SEComparisonType in_compExprType, SqlTypeMetadata *in_typeMeta, const Simba::DSI::DSIColumnMetadata &in_colMeta)
 Given the comparison type and the SqlTypeMetadata, returns a DSIExtBinaryBooleanFunctor to be used for execution by SimbaEngine.
virtual AutoPtr
< DSIExtUnaryValueFunctor
CreateNegationFunctor (SqlTypeMetadata *in_typeMeta)
 Given the SqlTypeMetadata, returns a DSIExtUnaryValueFunctor to be used for execution by SimbaEngine.
 DSIExtFunctorFactory ()
 Constructor.
virtual ~DSIExtFunctorFactory ()
 Destructor.

Detailed Description

Implements the IFunctorFactory interface.

This default implementation simply returns NULL for each of the Create*Functor() functions.

This class provides a concrete base class from which the DSII can subclass from in order to implement an IFunctorFactory. The DSII can choose to subclass from this class, and only provide proper implementations for supported functors.


Constructor & Destructor Documentation

Constructor.

virtual ~DSIExtFunctorFactory (  )  [virtual]

Destructor.


Member Function Documentation

virtual AutoPtr<DSIExtBinaryValueFunctor> CreateBinaryArithmeticFunctor ( SEArithmeticExprType  in_arithExprType,
SqlTypeMetadata in_typeMeta 
) [virtual]

Given the arithmetic type and the SqlTypeMetadata, returns a DSIExtBinaryValueFunctor to be used for execution by SimbaEngine.

Parameters:
in_arithExprType The binary arithmetic expression type.
in_typeMeta The SqlTypeMetadata on which the functor will operate. (NOT OWN)

This default implementation returns NULL always.

Returns:
A DSIExtBinaryValueFunctor to execute the given arithmetic expression type on the given custom data type; NULL if the operation is not supported for the given custom data type. (OWN)

Implements IFunctorFactory.

virtual AutoPtr<DSIExtBinaryBooleanFunctor> CreateComparisonFunctor ( SEComparisonType  in_compExprType,
SqlTypeMetadata in_typeMeta,
const Simba::DSI::DSIColumnMetadata in_colMeta 
) [virtual]

Given the comparison type and the SqlTypeMetadata, returns a DSIExtBinaryBooleanFunctor to be used for execution by SimbaEngine.

Parameters:
in_compExprType The comparison expression type.
in_typeMeta The SqlTypeMetadata on which the functor will operate. (NOT OWN)
in_colMeta The column metadata on which the functor will operate.

This default implementation returns NULL always.

Returns:
A DSIExtBinaryBooleanFunctor to execute the given comparison expression type on the given custom data type; NULL if the operation is not supported for the given custom data type. (OWN)

Implements IFunctorFactory.

virtual AutoPtr<DSIExtUnaryValueFunctor> CreateNegationFunctor ( SqlTypeMetadata in_typeMeta  )  [virtual]

Given the SqlTypeMetadata, returns a DSIExtUnaryValueFunctor to be used for execution by SimbaEngine.

For unary negation functors.

Parameters:
in_typeMeta The SqlTypeMetadata on which the functor will operate. (NOT OWN)

This default implementation returns NULL always.

Returns:
A DSIExtUnaryValueFunctor to execute the negation operation on the given custom data type; NULL if negation is not supported for the given custom data type. (OWN)

Implements IFunctorFactory.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:17 2017 for SimbaEngine 10.1.3.1011 by simba