IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Member Functions | Protected Member Functions | List of all members
query_find_neighbors Class Reference

gShell command - find neighbors given a vertex or a set of vertices More...

#include <query_engine.h>

Inherits query_base.

Public Member Functions

 REGISTER_QUERY_TYPE (query_find_neighbors)
 
int run (struct query_param_type)
 
void options (command_options &opts)
 

Protected Member Functions

int find_neighbors_single (string key, string edge_label, struct query_param_type param, unordered_set< size_t > &unique_vertices, unordered_set< size_t > &unique_edges, const string &edge_type, const string &output_type, bool is_idOnly)
 
int find_neighbors_single (size_t vid, string edge_label, struct query_param_type param, unordered_set< size_t > &unique_vertices, unordered_set< size_t > &unique_edges, const string &edge_type, const string &output_type, bool is_idOnly)
 
int find_OutNeighbors_single (size_t vid, string edge_label, struct query_param_type param, unordered_set< size_t > &unique_vertices, unordered_set< size_t > &unique_edges, const string &output_type, bool is_idOnly)
 
int find_InNeighbors_single (size_t vid, string edge_label, struct query_param_type param, unordered_set< size_t > &unique_vertices, unordered_set< size_t > &unique_edges, const string &output_type, bool is_idOnly)
 

Detailed Description

gShell command - find neighbors given a vertex or a set of vertices

Member Function Documentation

int query_find_neighbors::run ( struct query_param_type  )
Parameters
&ndash;id(alternative) vertex ID
&ndash;in(alternative) use the cached result of a previous query as input
&ndash;label(optional) edge label to match
&ndash;out(optional) variable for caching query result
&ndash;edgetype(optional) edge type as in, out, or all (default)
&ndash;outputtype(optional) type of output, choose from vertex, edge, all (default)
&ndash;id_only(optional) only output id information

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