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::TupleSet Class Reference

#include <TupleSet.h>

+ Collaboration diagram for pdb::TupleSet:

Public Member Functions

int getNumColumns ()
 
std::vector< std::string > getTypeNames ()
 
template<typename ColType >
std::vector< ColType > & getColumn (int whichColumn)
 
void writeOutColumn (int whichColumn, Handle< Vector< Handle< Object >>> &writeToMe, bool startFromScratch)
 
Handle< Vector< Handle< Object > > > getOutputVector (int whichColToOutput)
 
bool hasColumn (int whichColumn)
 
 ~TupleSet ()
 
void filterColumn (int whichColToFilter, std::vector< bool > &usingMe)
 
void replicate (TupleSetPtr fromMe, int whichColInFromMe, int whichColToCopyTo, std::vector< uint32_t > &replications)
 
int getNumRows (int whichColumn)
 
void copyColumn (TupleSetPtr fromMe, int whichColInFromMe, int whichColToCopyTo)
 
template<typename ColType >
void addColumn (int where, std::vector< ColType > *addMe, bool needToDelete)
 

Private Attributes

std::map< int, std::pair< void
*, MaintenanceFuncs > > 
columns
 

Detailed Description

Definition at line 128 of file TupleSet.h.

Constructor & Destructor Documentation

pdb::TupleSet::~TupleSet ( )
inline

Definition at line 217 of file TupleSet.h.

Member Function Documentation

template<typename ColType >
void pdb::TupleSet::addColumn ( int  where,
std::vector< ColType > *  addMe,
bool  needToDelete 
)
inline

Definition at line 319 of file TupleSet.h.

+ Here is the call graph for this function:

void pdb::TupleSet::copyColumn ( TupleSetPtr  fromMe,
int  whichColInFromMe,
int  whichColToCopyTo 
)
inline

Definition at line 294 of file TupleSet.h.

+ Here is the call graph for this function:

void pdb::TupleSet::filterColumn ( int  whichColToFilter,
std::vector< bool > &  usingMe 
)
inline

Definition at line 228 of file TupleSet.h.

+ Here is the call graph for this function:

template<typename ColType >
std::vector<ColType>& pdb::TupleSet::getColumn ( int  whichColumn)
inline

Definition at line 179 of file TupleSet.h.

+ Here is the call graph for this function:

int pdb::TupleSet::getNumColumns ( )
inline

Definition at line 139 of file TupleSet.h.

int pdb::TupleSet::getNumRows ( int  whichColumn)
inline

Definition at line 285 of file TupleSet.h.

+ Here is the call graph for this function:

Handle<Vector<Handle<Object> > > pdb::TupleSet::getOutputVector ( int  whichColToOutput)
inline

Definition at line 208 of file TupleSet.h.

std::vector<std::string> pdb::TupleSet::getTypeNames ( )
inline

Definition at line 156 of file TupleSet.h.

bool pdb::TupleSet::hasColumn ( int  whichColumn)
inline

Definition at line 213 of file TupleSet.h.

+ Here is the caller graph for this function:

void pdb::TupleSet::replicate ( TupleSetPtr  fromMe,
int  whichColInFromMe,
int  whichColToCopyTo,
std::vector< uint32_t > &  replications 
)
inline

Definition at line 255 of file TupleSet.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void pdb::TupleSet::writeOutColumn ( int  whichColumn,
Handle< Vector< Handle< Object >>> &  writeToMe,
bool  startFromScratch 
)
inline

Definition at line 190 of file TupleSet.h.

Member Data Documentation

std::map<int, std::pair<void*, MaintenanceFuncs> > pdb::TupleSet::columns
private

Definition at line 135 of file TupleSet.h.


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