6 #ifndef __SHOW_GRAPH_H__
7 #define __SHOW_GRAPH_H__
27 options(std::map<std::string, std::string>())
52 ShowGraphRequest(
const std::string& graphName_,
const std::map<std::string, std::string>& options_):
59 std::map<std::string, std::string>
options;
65 template<>
struct codec_traits<gpudb::ShowGraphRequest>
75 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
77 const std::vector<size_t> fo = rd->fieldOrder();
79 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
131 info(std::map<std::string, std::string>())
144 std::map<std::string, std::string>
info;
150 template<>
struct codec_traits<gpudb::ShowGraphResponse>
154 ::avro::encode(e, v.
result);
163 ::avro::encode(e, v.
info);
168 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
170 const std::vector<size_t> fo = rd->fieldOrder();
172 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
177 ::avro::decode(d, v.
result);
213 ::avro::decode(d, v.
info);
223 ::avro::decode(d, v.
result);
232 ::avro::decode(d, v.
info);
ShowGraphResponse()
Constructs a ShowGraphResponse object with default parameter values.
A set of input parameters for const.
ShowGraphRequest()
Constructs a ShowGraphRequest object with default parameter values.
std::vector< int64_t > numEdges
std::map< std::string, std::string > options
std::vector< bool > isSyncDb
std::vector< std::string > originalRequest
std::vector< std::string > graphNames
A set of output parameters for const.
std::vector< bool > directed
std::vector< bool > hasInsertTableMonitor
ShowGraphRequest(const std::string &graphName_, const std::map< std::string, std::string > &options_)
Constructs a ShowGraphRequest object with the specified parameters.
std::vector< bool > isPersisted
std::vector< int64_t > numNodes
std::map< std::string, std::string > info