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.
|
#include <AggregationJobStageBuilder.h>
Public Member Functions | |
AggregationJobStageBuilder () | |
void | setJobId (const std::string &jobId) |
void | setJobStageId (int jobStageId) |
void | setAggComp (const Handle< AbstractAggregateComp > &aggComp) |
void | setSourceContext (const Handle< SetIdentifier > &sourceContext) |
void | setSinkContext (const Handle< SetIdentifier > &sinkContext) |
void | setMaterializeOrNot (bool materializeOrNot) |
Handle< AggregationJobStage > | build () |
Private Attributes | |
std::string | jobId |
int | jobStageId |
Handle< AbstractAggregateComp > | aggComp |
Handle< SetIdentifier > | sourceContext |
Handle< SetIdentifier > | sinkContext |
bool | materializeOrNot |
Definition at line 30 of file AggregationJobStageBuilder.h.
pdb::AggregationJobStageBuilder::AggregationJobStageBuilder | ( | ) |
Definition at line 22 of file AggregationJobStageBuilder.cc.
Handle< AggregationJobStage > pdb::AggregationJobStageBuilder::build | ( | ) |
Return the build AggregationJobStage
Definition at line 50 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setAggComp | ( | const Handle< AbstractAggregateComp > & | aggComp | ) |
The computation associated with this aggregation
aggComp | - an instance of the AbstractAggregateComp |
Definition at line 34 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setJobId | ( | const std::string & | jobId | ) |
The id of the job this job stage belongs to
jobId | - string identifier of the job |
Definition at line 26 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setJobStageId | ( | int | jobStageId | ) |
Sets the id of this job stage
jobStageId | - the id that uniquely identifies this stage within the current job |
Definition at line 30 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setMaterializeOrNot | ( | bool | materializeOrNot | ) |
Should we materialize the output of this aggregation or should we keep it as a hash set?
materializeOrNot | - true if we should, false otherwise |
Definition at line 46 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setSinkContext | ( | const Handle< SetIdentifier > & | sinkContext | ) |
Sets the set identifier of the output This is used by the
sinkContext | - the set identifier |
Definition at line 42 of file AggregationJobStageBuilder.cc.
void pdb::AggregationJobStageBuilder::setSourceContext | ( | const Handle< SetIdentifier > & | sourceContext | ) |
Sets the set identifier by the source set This is used by the
sourceContext | - the set identifier |
Definition at line 38 of file AggregationJobStageBuilder.cc.
|
private |
The computation associated with this aggregation
Definition at line 94 of file AggregationJobStageBuilder.h.
|
private |
The id of the job this job stage belongs to
Definition at line 84 of file AggregationJobStageBuilder.h.
|
private |
The id of this job stage. It uniquely identifies this stage within this job
Definition at line 89 of file AggregationJobStageBuilder.h.
|
private |
Should we materialize this as a set or keep it as a hashSet
Definition at line 111 of file AggregationJobStageBuilder.h.
|
private |
The set identifier of the output This is used by the
Definition at line 106 of file AggregationJobStageBuilder.h.
|
private |
The set identifier by the source set This is used by the
Definition at line 100 of file AggregationJobStageBuilder.h.