![]() |
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 <iostream>#include <stdlib.h>#include "Parser.h"#include "ParserHelperFunctions.h"#include "AttList.h"#include "KeyValueList.h"#include "TupleSpec.h"#include "AtomicComputationList.h"#include "AtomicComputationClasses.h"#include <string>#include <map>#include <vector>#include <utility>
Include dependency graph for ParserHelperFunctions.cc:Go to the source code of this file.
Macros | |
| #define | SQL_PARSER_C |
Functions | |
| struct KeyValueList * | makeEmptyKeyValueList () |
| struct KeyValueList * | makeKeyValueList (char *keyName, char *valueName) |
| struct KeyValueList * | pushBackKeyValue (struct KeyValueList *addToMe, char *keyName, char *valueName) |
| struct AtomicComputation * | makeFilterWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeApplyWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeAggWithList (struct TupleSpec *output, struct TupleSpec *input, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makePartitionWithList (struct TupleSpec *output, struct TupleSpec *input, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeJoinWithList (struct TupleSpec *output, struct TupleSpec *lInput, struct TupleSpec *lProjection, struct TupleSpec *rInput, struct TupleSpec *rProjection, char *opName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeHashLeftWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeHashRightWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeHashOneWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeFlattenWithList (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeScanWithList (struct TupleSpec *output, char *dbName, char *setName, char *nodeName, struct KeyValueList *useMe) |
| struct AtomicComputation * | makeOutputWithList (struct TupleSpec *output, struct TupleSpec *input, char *dbName, char *setName, char *nodeName, struct KeyValueList *useMe) |
| struct AttList * | makeAttList (char *fromMe) |
| struct AttList * | pushBackAttribute (struct AttList *addToMe, char *fromMe) |
| struct TupleSpec * | makeTupleSpec (char *setName, struct AttList *useMe) |
| struct AtomicComputationList * | makeAtomicComputationList (struct AtomicComputation *fromMe) |
| struct AtomicComputationList * | pushBackAtomicComputation (struct AtomicComputationList *input, struct AtomicComputation *addMe) |
| struct TupleSpec * | makeEmptyTupleSpec (char *setName) |
| struct AtomicComputation * | makeFilter (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName) |
| struct AtomicComputation * | makeApply (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName) |
| struct AtomicComputation * | makeAgg (struct TupleSpec *output, struct TupleSpec *input, char *nodeName) |
| struct AtomicComputation * | makePartition (struct TupleSpec *output, struct TupleSpec *input, char *nodeName) |
| struct AtomicComputation * | makeJoin (struct TupleSpec *output, struct TupleSpec *lInput, struct TupleSpec *lProjection, struct TupleSpec *rInput, struct TupleSpec *rProjection, char *opName) |
| struct AtomicComputation * | makeHashLeft (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName) |
| struct AtomicComputation * | makeHashRight (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName, char *opName) |
| struct AtomicComputation * | makeHashOne (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName) |
| struct AtomicComputation * | makeFlatten (struct TupleSpec *output, struct TupleSpec *input, struct TupleSpec *projection, char *nodeName) |
| struct AtomicComputation * | makeScan (struct TupleSpec *output, char *dbName, char *setName, char *nodeName) |
| struct AtomicComputation * | makeOutput (struct TupleSpec *output, struct TupleSpec *input, char *dbName, char *setName, char *nodeName) |
| #define SQL_PARSER_C |
Definition at line 20 of file ParserHelperFunctions.cc.
| struct AtomicComputation* makeAgg | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeAggWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeApply | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName | ||
| ) |
| struct AtomicComputation* makeApplyWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputationList* makeAtomicComputationList | ( | struct AtomicComputation * | fromMe | ) |
| struct AttList* makeAttList | ( | char * | fromMe | ) |
| struct KeyValueList* makeEmptyKeyValueList | ( | ) |
HERE WE DEFINE ALL OF THE C FUNCTIONS TO MANIPULATE THE ABOVE DATA TYPES
Definition at line 44 of file ParserHelperFunctions.cc.
Here is the call graph for this function:| struct TupleSpec* makeEmptyTupleSpec | ( | char * | setName | ) |
| struct AtomicComputation* makeFilter | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeFilterWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeFlatten | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeFlattenWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeHashLeft | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName | ||
| ) |
| struct AtomicComputation* makeHashLeftWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeHashOne | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeHashOneWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeHashRight | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName | ||
| ) |
| struct AtomicComputation* makeHashRightWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| struct TupleSpec * | projection, | ||
| char * | nodeName, | ||
| char * | opName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeJoinWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | lInput, | ||
| struct TupleSpec * | lProjection, | ||
| struct TupleSpec * | rInput, | ||
| struct TupleSpec * | rProjection, | ||
| char * | opName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct KeyValueList* makeKeyValueList | ( | char * | keyName, |
| char * | valueName | ||
| ) |
| struct AtomicComputation* makeOutput | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | dbName, | ||
| char * | setName, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeOutputWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | dbName, | ||
| char * | setName, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makePartition | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makePartitionWithList | ( | struct TupleSpec * | output, |
| struct TupleSpec * | input, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputation* makeScan | ( | struct TupleSpec * | output, |
| char * | dbName, | ||
| char * | setName, | ||
| char * | nodeName | ||
| ) |
| struct AtomicComputation* makeScanWithList | ( | struct TupleSpec * | output, |
| char * | dbName, | ||
| char * | setName, | ||
| char * | nodeName, | ||
| struct KeyValueList * | useMe | ||
| ) |
| struct AtomicComputationList* pushBackAtomicComputation | ( | struct AtomicComputationList * | input, |
| struct AtomicComputation * | addMe | ||
| ) |
| struct KeyValueList* pushBackKeyValue | ( | struct KeyValueList * | addToMe, |
| char * | keyName, | ||
| char * | valueName | ||
| ) |