IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
gShell command - load edges from a CSV file More...
#include <query_engine.h>
Inherits query_base.
Public Member Functions | |
REGISTER_QUERY_TYPE (query_load_csv_edges) | |
int | run (struct query_param_type) |
void | options (command_options &opts) |
gShell command - load edges from a CSV file
int query_load_csv_edges::run | ( | struct query_param_type | ) |
–csvfile | csv file name with path |
–srcpos | column index of edge source (starting from 0) |
–targpos | column index of edge target (starting from 0) |
–labelpos | (optional) column index of edge label (starting from 0) |
–separator | (optional) a string of characters each used as a column separator |
–label | (optional) label to apply to all edges in current csv file |
–no_header | (optional flag) csv file doesn't have header in first line |