|
| virtual | ~JoinCompBase () |
| |
| void | setJoinType (JoinType joinType) |
| |
| JoinType | getJoinType () |
| |
| void | setNumPartitions (int numPartitions) |
| |
| int | getNumPartitions () |
| |
| void | setNumNodes (int numNodes) |
| |
| int | getNumNodes () |
| |
| void | setPartitionId (size_t myPartitionId) |
| |
| size_t | getPartitionId () |
| |
| void | setIterator (PageCircularBufferIteratorPtr iterator) |
| |
| void | setProxy (DataProxyPtr proxy) |
| |
| void | setBatchSize (int batchSize) override |
| |
| int | getBatchSize () |
| |
| MultiInputsBase * | getMultiInputsBase () |
| |
| void | setMultiInputsBaseToNull () |
| |
| void | analyzeInputSets (std::vector< std::string > &inputNames) |
| |
| virtual Lambda< bool > | getSelection (Handle< In1 > in1, Handle< In2 > in2, Handle< Rest >...otherArgs)=0 |
| |
| virtual Lambda< Handle< Out > > | getProjection (Handle< In1 > in1, Handle< In2 > in2, Handle< Rest >...otherArgs)=0 |
| |
| void | extractLambdas (std::map< std::string, GenericLambdaObjectPtr > &returnVal) override |
| |
| std::string | getOutputType () override |
| |
| int | getNumInputs () final |
| |
| template<typename First , typename... Others> |
std::enable_if< sizeof...(Others)==0,
std::string >::type | getIthInputType (int i) |
| |
| template<typename First , typename... Others> |
std::enable_if< sizeof...(Others)!=0,
std::string >::type | getIthInputType (int i) |
| |
| std::string | getIthInputType (int i) final |
| |
| SinkMergerPtr | getSinkMerger (TupleSpec &consumeMe, TupleSpec &attsToOpOn, TupleSpec &projection, ComputePlan &plan) override |
| |
| SinkShufflerPtr | getSinkShuffler (TupleSpec &consumeMe, TupleSpec &attsToOpOn, TupleSpec &projection, ComputePlan &plan) override |
| |
| ComputeSinkPtr | getComputeSink (TupleSpec &consumeMe, TupleSpec &attsToOpOn, TupleSpec &projection, ComputePlan &plan) override |
| |
| ComputeSourcePtr | getComputeSource (TupleSpec &outputScheme, ComputePlan &plan) override |
| |
| std::string | getComputationType () override |
| |
| ComputationTypeID | getComputationTypeID () override |
| |
| std::string | toTCAPString (std::vector< InputTupleSetSpecifier > &inputTupleSets, int computationLabel, std::string &outputTupleSetName, std::vector< std::string > &outputColumnNames, std::string &addedOutputColumnName) override |
| |
| ComputeExecutorPtr | getExecutor (bool needToSwapAtts, TupleSpec &hashedInputSchema, TupleSpec &pipelinedInputSchema, TupleSpec &pipelinedAttsToOperateOn, TupleSpec &pipelinedAttsToIncludeInOutput, ComputeInfoPtr arg) override |
| |
| ComputeExecutorPtr | getExecutor (bool needToSwapAtts, TupleSpec &hashedInputSchema, TupleSpec &pipelinedInputSchema, TupleSpec &pipelinedAttsToOperateOn, TupleSpec &pipelinedAttsToIncludeInOutput) override |
| |
| virtual ComputeSinkPtr | getComputeSink (TupleSpec &consumeMe, TupleSpec &projection, ComputePlan &plan) |
| |
| virtual SinkMergerPtr | getSinkMerger (TupleSpec &consumeMe, TupleSpec &projection, ComputePlan &plan) |
| |
| virtual SinkShufflerPtr | getSinkShuffler (TupleSpec &consumeMe, TupleSpec &projection, ComputePlan &plan) |
| | JiaNote: add below interface for shuffling multiple join map sinks for hash partitioned join. More...
|
| |
| bool | hasInput () |
| |
| Handle< Computation > & | getIthInput (int i) const |
| |
| int | getNumConsumers () |
| |
| void | setNumConsumers (int numConsumers) |
| |
| bool | setInput (Handle< Computation > toMe) |
| |
| bool | setInput (int whichSlot, Handle< Computation > toMe) |
| |
| bool | isTraversed () |
| |
| void | setTraversed (bool traversed) |
| |
| std::string | getOutputTupleSetName () |
| |
| void | setOutputTupleSetName (std::string outputTupleSetName) |
| |
| std::string | getOutputColumnToApply () |
| |
| void | setOutputColumnToApply (std::string outputColumnToApply) |
| |
| virtual void | setOutput (std::string dbName, std::string setName) |
| |
| virtual std::string | getDatabaseName () |
| |
| virtual std::string | getSetName () |
| |
| virtual bool | needsMaterializeOutput () |
| |
| virtual bool | isUsingCombiner () |
| |
| virtual void | setUsingCombiner (bool useCombinerOrNot) |
| |
| void | setAllocatorPolicy (AllocatorPolicy myPolicy) |
| |
| void | setObjectPolicy (ObjectPolicy myPolicy) |
| |
| AllocatorPolicy | getAllocatorPolicy () |
| |
| ObjectPolicy | getObjectPolicy () |
| |
| virtual void | setCollectAsMap (bool collectAsMapOrNot) |
| |
| virtual bool | isCollectAsMap () |
| |
| virtual int | getNumNodesToCollect () |
| |
| virtual void | setNumNodesToCollect (int numNodesToCollect) |
| |
| void | setVTablePtr (void *setToMe) |
| |
| void * | getVTablePtr () |
| |
| virtual void | setUpAndCopyFrom (void *target, void *source) const |
| |
| virtual void | deleteObject (void *deleteMe) |
| |
| virtual size_t | getSize (void *ofMe) |
| |
template<typename Out, typename In1, typename In2, typename... Rest>
class pdb::JoinCompBase< Out, In1, In2, Rest >
Definition at line 59 of file JoinCompBase.h.
template<typename Out, typename In1, typename In2, typename... Rest>
This is implemented by the actual computation object... as the name implies, it is used to extract the lambdas from the computation
Reimplemented from pdb::Computation.
Definition at line 209 of file JoinCompBase.h.
template<typename Out, typename In1, typename In2, typename... Rest>
If this particular computation can be used as a compute source in a pipeline, this method will return the compute source object associated with the computation...
In the general case, this method accepts the logical plan that this guy is a part of, as well as the actual TupleSpec that this guy is supposed to produce, and then returns a pointer to a ComputeSource object that can actually produce TupleSet objects corresponding to that particular TupleSpec
Reimplemented from pdb::Computation.
Definition at line 385 of file JoinCompBase.h.
template<typename Out, typename In1, typename In2, typename... Rest>
Gets an execute that can run a scan join...
- Parameters
-
| needToSwapAtts | - is true if the atts that are currently stored in the hash table need to come SECOND in the output tuple sets... |
| hashedInputSchema | - hashedInputSchema tells us the schema for the attributes that are currently stored in the hash table... |
| pipelinedInputSchema | - tells us the schema for the attributes that will be coming through the pipeline... |
| pipelinedAttsToOperateOn | - is the identity of the hash attribute... |
| pipelinedAttsToIncludeInOutput | - tells us the set of attributes that are coming through the pipeline that we actually have to write to the output stream |
| arg | - parameters that are sent into a pipeline when it is built |
- Returns
- - the executor
Implements pdb::AbstractJoinComp.
Definition at line 598 of file JoinCompBase.h.
template<typename Out, typename In1, typename In2, typename... Rest>
Gets an execute that can run a scan join...
- Parameters
-
| needToSwapAtts | - is true if the atts that are currently stored in the hash table need to come SECOND in the output tuple sets... |
| hashedInputSchema | - hashedInputSchema tells us the schema for the attributes that are currently stored in the hash table... |
| pipelinedInputSchema | - tells us the schema for the attributes that will be coming through the pipeline... |
| pipelinedAttsToOperateOn | - is the identity of the hash attribute... |
| pipelinedAttsToIncludeInOutput | - tells us the set of attributes that are coming through the pipeline that we actually have to write to the output stream |
| arg | - parameters that are sent into a pipeline when it is built |
- Returns
- - the executor
Implements pdb::AbstractJoinComp.
Definition at line 645 of file JoinCompBase.h.
template<typename Out, typename In1, typename In2, typename... Rest>
template<typename First , typename... Others>
| std::enable_if<sizeof...(Others) == 0, std::string>::type pdb::JoinCompBase< Out, In1, In2, Rest >::getIthInputType |
( |
int |
i | ) |
|
|
inlinevirtual |
template<typename Out, typename In1, typename In2, typename... Rest>
template<typename First , typename... Others>
| std::enable_if<sizeof...(Others) != 0, std::string>::type pdb::JoinCompBase< Out, In1, In2, Rest >::getIthInputType |
( |
int |
i | ) |
|
|
inlinevirtual |