A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::TypedLambdaObject< Out > Class Template Reference

#include <GenericLambdaObject.h>

+ Inheritance diagram for pdb::TypedLambdaObject< Out >:
+ Collaboration diagram for pdb::TypedLambdaObject< Out >:

Public Member Functions

virtual ~TypedLambdaObject ()=default
 
std::string getOutputType () override
 
- Public Member Functions inherited from pdb::GenericLambdaObject
virtual ~GenericLambdaObject ()=default
 
void setInputIndex (int i, unsigned int index)
 
virtual unsigned int getInputIndex (int i)
 
virtual unsigned int getNumInputs ()=0
 
virtual ComputeExecutorPtr getExecutor (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput)=0
 
virtual ComputeExecutorPtr getExecutor (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput, ComputeInfoPtr)
 
virtual ComputeExecutorPtr getLeftHasher (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput)
 
virtual ComputeExecutorPtr getLeftHasher (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput, ComputeInfoPtr)
 
virtual ComputeExecutorPtr getRightHasher (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput)
 
virtual ComputeExecutorPtr getRightHasher (TupleSpec &inputSchema, TupleSpec &attsToOperateOn, TupleSpec &attsToIncludeInOutput, ComputeInfoPtr)
 
virtual std::string getTypeOfLambda ()=0
 
virtual int getNumChildren ()=0
 
virtual GenericLambdaObjectPtr getChild (int which)=0
 
std::string getTCAPString (const std::string &inputTupleSetName, const std::vector< std::string > &inputColumnNames, const std::vector< std::string > &inputColumnsToApply, const std::string &outputTupleSetName, const std::vector< std::string > &outputColumns, const std::string &outputColumnName, const std::string &tcapOperation, const std::string &computationNameAndLabel, const std::string &lambdaNameAndLabel, const std::map< std::string, std::string > &info)
 
virtual std::string toTCAPStringForCartesianJoin (int lambdaLabel, std::string computationName, int computationLabel, std::string &outputTupleSetName, std::vector< std::string > &outputColumns, std::string &outputColumnName, std::string &myLambdaName, MultiInputsBase *multiInputsComp)
 
virtual std::string toTCAPString (std::vector< std::string > &inputTupleSetNames, std::vector< std::string > &inputColumnNames, std::vector< std::string > &inputColumnsToApply, std::vector< std::string > &childrenLambdaNames, int lambdaLabel, std::string computationName, int computationLabel, std::string &outputTupleSetName, std::vector< std::string > &outputColumns, std::string &outputColumnName, std::string &myLambdaName, MultiInputsBase *multiInputsComp=nullptr, bool amIPartOfJoinPredicate=false, bool amILeftChildOfEqualLambda=false, bool amIRightChildOfEqualLambda=false, std::string parentLambdaName="", bool isSelfJoin=false)
 
virtual std::map< std::string,
std::string > 
getInfo ()=0
 

Detailed Description

template<typename Out>
class pdb::TypedLambdaObject< Out >

this is the lamda type... queries are written by supplying code that creates these objects

Template Parameters
Out

Definition at line 538 of file GenericLambdaObject.h.

Constructor & Destructor Documentation

template<typename Out>
virtual pdb::TypedLambdaObject< Out >::~TypedLambdaObject ( )
virtualdefault

Member Function Documentation

template<typename Out>
std::string pdb::TypedLambdaObject< Out >::getOutputType ( )
inlineoverridevirtual

returns a string containing the type that is returned when this lambda is executed

Returns
the string containing the output type

Implements pdb::GenericLambdaObject.

Reimplemented in pdb::MethodCallLambda< Out, ClassType >.

Definition at line 544 of file GenericLambdaObject.h.


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