Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad Str attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad Str attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Return TupleLoad NameLoad ListComp TupleLoad NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A subprocess N/A argparse N/A sys raco.catalog FromFileCatalog raco.backends.cpp.cppcommon StagedTupleRef N/A 
given a schema, creates a C++ program to convert csv data to a binary format
 N/A template 
#include <tuple>
#include <string>
#include <cstring>
#include <cstdint>
#include <sstream>
#include <vector>
#include <cstdlib>
#include <iostream>
#include "convert2bin.h"
#include "radish_utils.h"
#include "strings.h"

{definition}

int main(int argc, char * const argv[]) {{
    if (argc < 4) {{
        std::cerr << "usage: " << argv[0] << " [file] [delim char] [burns] [add_id?]" << std::endl;
        exit(1);
    }}

    convert2bin_withTuple<{typ}>(argv[1], argv[2][0], atoi(argv[3]), atoi(argv[4]));
}}
 generate_tuple_class N/A N/A rel_key cat N/A N/A N/A sch N/A N/A cat get_scheme rel_key N/A tupleref N/A StagedTupleRef None sch N/A definition N/A N/A tupleref generateDefinition N/A outfnbase N/A N/A N/A rel_key split : N/A 2 N/A cpp_name N/A N/A {0}.convert.cpp format outfnbase N/A N/A open cpp_name w outf N/A N/A N/A N/A outf write N/A N/A template format definition definition typ N/A N/A tupleref getTupleTypename N/A N/A N/A subprocess check_output N/A make N/A N/A {fn}.convert format fn outfnbase N/A cpp_name N/A generate_tuple_class_from_file N/A N/A name catpath N/A N/A N/A cat N/A N/A FromFileCatalog load_from_file catpath N/A N/A name None N/A N/A rel_key N/A N/A public:adhoc:{0} format name N/A N/A cat rel_key N/A generate_tuple_class rel_key cat N/A N/A N/A cat N/A N/A n N/A generate_tuple_class n cat N/A n N/A N/A cat get_keys N/A N/A N/A __name__ __main__ N/A N/A p N/A N/A argparse ArgumentParser prog N/A N/A sys argv N/A 0 N/A N/A N/A p add_argument -n dest name help name of relation [optional]. If not specified then will convert whole catalog N/A N/A N/A p add_argument -c dest catpath help path of catalog file, see FromFileCatalog for format required True N/A args N/A N/A p parse_args N/A N/A sys argv N/A 1 N/A N/A generate_tuple_class_from_file N/A args name N/A args catpath