IFunctorFactory Class Reference

IFunctorFactory provides a facility to create new Functors for the execution of an operation on a custom data type. More...

Inherited by DSIExtFunctorFactory.

List of all members.

Public Member Functions

virtual AutoPtr
< DSIExtBinaryValueFunctor
CreateBinaryArithmeticFunctor (SEArithmeticExprType in_arithExprType, SqlTypeMetadata *in_typeMeta)=0
 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)=0
 Given the comparison type and the SqlTypeMetadata, returns a DSIExtBinaryBooleanFunctor to be used for execution by SimbaEngine.
virtual AutoPtr
< DSIExtUnaryValueFunctor
CreateNegationFunctor (SqlTypeMetadata *in_typeMeta)=0
 Given the SqlTypeMetadata, returns a DSIExtUnaryValueFunctor to be used for execution by SimbaEngine.
virtual ~IFunctorFactory ()
 Destructor.

Protected Member Functions

 IFunctorFactory ()
 Constructor.

Detailed Description

IFunctorFactory provides a facility to create new Functors for the execution of an operation on a custom data type.

See DSIExtFunctorFactory for an implementation of this interface.


Constructor & Destructor Documentation

virtual ~IFunctorFactory (  )  [inline, virtual]

Destructor.

IFunctorFactory (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual AutoPtr<DSIExtBinaryValueFunctor> CreateBinaryArithmeticFunctor ( SEArithmeticExprType  in_arithExprType,
SqlTypeMetadata in_typeMeta 
) [pure 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)
Returns:
A DSIExtBinaryValueFunctor to execute the given arithemetic expression type on the given custom data type; NULL if the operation is not supported for the given custom data type. (OWN)

Implemented in DSIExtFunctorFactory.

virtual AutoPtr<DSIExtBinaryBooleanFunctor> CreateComparisonFunctor ( SEComparisonType  in_compExprType,
SqlTypeMetadata in_typeMeta,
const Simba::DSI::DSIColumnMetadata in_colMeta 
) [pure 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.
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)

Implemented in DSIExtFunctorFactory.

virtual AutoPtr<DSIExtUnaryValueFunctor> CreateNegationFunctor ( SqlTypeMetadata in_typeMeta  )  [pure 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)
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)

Implemented in DSIExtFunctorFactory.


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

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