![]() |
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 <WriteUserSetBase.h>
Inheritance diagram for pdb::WriteUserSetBase< OutputClass >:
Collaboration diagram for pdb::WriteUserSetBase< OutputClass >:Public Member Functions | |
| WriteUserSetBase ()=default | |
| WriteUserSetBase (std::string dbName, std::string setName) | |
| void | setUpAndCopyFrom (void *target, void *source) const override |
| void | deleteObject (void *deleteMe) override |
| size_t | getSize (void *forMe) override |
| ComputeSinkPtr | getComputeSink (TupleSpec &consumeMe, TupleSpec &projection, ComputePlan &plan) override |
| void | setOutput (std::string dbName, std::string setName) override |
| void | setDatabaseName (std::string dbName) |
| std::string | getDatabaseName () override |
| void | setSetName (std::string setName) |
| std::string | getSetName () override |
| std::string | getComputationType () override |
| ComputationTypeID | getComputationTypeID () override |
| std::string | getOutputType () override |
| int | getNumInputs () override |
| std::string | getIthInputType (int i) override |
| std::string | toTCAPString (std::vector< InputTupleSetSpecifier > &inputTupleSets, int computationLabel, std::string &outputTupleSetName, std::vector< std::string > &outputColumnNames, std::string &addedOutputColumnName) override |
| std::string | toTCAPString (std::string inputTupleSetName, std::vector< std::string > &inputColumnNames, std::vector< std::string > &inputColumnsToApply, int computationLabel, std::string &outputTupleSetName, std::vector< std::string > &outputColumnNames, std::string &addedOutputColumnName) |
| bool | needsMaterializeOutput () override |
Public Member Functions inherited from pdb::Computation | |
| virtual void | extractLambdas (std::map< std::string, GenericLambdaObjectPtr > &returnVal) |
| virtual ComputeSourcePtr | getComputeSource (TupleSpec &produceMe, ComputePlan &plan) |
| virtual ComputeSinkPtr | getComputeSink (TupleSpec &consumeMe, TupleSpec &whichAttsToOpOn, TupleSpec &projection, ComputePlan &plan) |
| virtual SinkMergerPtr | getSinkMerger (TupleSpec &consumeMe, TupleSpec &projection, ComputePlan &plan) |
| virtual SinkMergerPtr | getSinkMerger (TupleSpec &consumeMe, TupleSpec &whichAttsToOpOn, 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... | |
| virtual SinkShufflerPtr | getSinkShuffler (TupleSpec &consumeMe, TupleSpec &whichAttsToOpOn, TupleSpec &projection, ComputePlan &plan) |
| 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 | setBatchSize (int batchSize) |
| 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) |
Public Member Functions inherited from pdb::Object | |
| void | setVTablePtr (void *setToMe) |
| void * | getVTablePtr () |
Protected Attributes | |
| String | dbName |
| String | setName |
| String | outputType = "" |
Additional Inherited Members | |
Static Public Member Functions inherited from pdb::Object | |
| static void * | operator new (size_t sz, const std::nothrow_t &tag) |
| static void * | operator new (size_t sz) |
| static void | operator delete (void *me) |
| static void * | operator new (std::size_t count, void *ptr) |
Definition at line 17 of file WriteUserSetBase.h.
|
default |
Normally these would be defined by the ENABLE_DEEP_COPY macro, but because Array is the one variable-sized type that we allow, we need to manually overridethese methods This constructor is for constructing builtin object
|
inline |
User should only use following constructor
| dbName | |
| setName |
Definition at line 36 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Used for deletion
| deleteMe |
Reimplemented from pdb::Object.
Definition at line 61 of file WriteUserSetBase.h.
Here is the call graph for this function:
|
inlineoverridevirtual |
Used to return the type of the computation
Implements pdb::Computation.
Definition at line 131 of file WriteUserSetBase.h.
Here is the caller graph for this function:
|
inlineoverridevirtual |
Used to return the type if of this computation
Implements pdb::Computation.
Definition at line 139 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Returns a ComputeSink for this computation
| consumeMe | |
| projection | |
| plan |
Reimplemented from pdb::Computation.
Definition at line 81 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Used to get the database name
Reimplemented from pdb::Computation.
Definition at line 107 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Used to return the i-th input type
| i |
Implements pdb::Computation.
Definition at line 167 of file WriteUserSetBase.h.
Here is the call graph for this function:
|
inlineoverridevirtual |
Used to return the number of inputs
Implements pdb::Computation.
Definition at line 158 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Used to return the output type
Implements pdb::Computation.
Definition at line 147 of file WriteUserSetBase.h.
Here is the caller graph for this function:
|
inlineoverridevirtual |
Used to get the user set name
Reimplemented from pdb::Computation.
Definition at line 123 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
Used for compute size
| forMe |
Reimplemented from pdb::Object.
Definition at line 70 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
this computation always materializes output
Reimplemented from pdb::Computation.
Definition at line 259 of file WriteUserSetBase.h.
|
inline |
|
inlineoverridevirtual |
Used to set the user set for writing objects to
| dbName | |
| setName |
Reimplemented from pdb::Computation.
Definition at line 90 of file WriteUserSetBase.h.
|
inline |
|
inlineoverridevirtual |
for deep copy
| target | |
| source |
Reimplemented from pdb::Object.
Definition at line 47 of file WriteUserSetBase.h.
|
inlineoverridevirtual |
below function implements the interface for parsing computation into a TCAP string
| inputTupleSets | |
| computationLabel | |
| outputTupleSetName | |
| outputColumnNames | |
| addedOutputColumnName |
Implements pdb::Computation.
Definition at line 184 of file WriteUserSetBase.h.
Here is the call graph for this function:
|
inline |
below function returns a TCAP string for this Computation
| inputTupleSetName | |
| inputColumnNames | |
| inputColumnsToApply | |
| computationLabel | |
| outputTupleSetName | |
| outputColumnNames | |
| addedOutputColumnName |
Definition at line 215 of file WriteUserSetBase.h.
Here is the call graph for this function:
|
protected |
Definition at line 265 of file WriteUserSetBase.h.
|
protected |
Definition at line 269 of file WriteUserSetBase.h.
|
protected |
Definition at line 267 of file WriteUserSetBase.h.