6 #ifndef __INSERT_SYMBOL_H__
7 #define __INSERT_SYMBOL_H__
38 options(std::map<std::string, std::string>())
74 InsertSymbolRequest(
const std::string& symbolId_,
const std::string& symbolFormat_,
const std::vector<uint8_t>& symbolData_,
const std::map<std::string, std::string>& options_):
85 std::map<std::string, std::string>
options;
91 template<>
struct codec_traits<gpudb::InsertSymbolRequest>
103 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
105 const std::vector<size_t> fo = rd->fieldOrder();
107 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 info(std::map<std::string, std::string>())
175 std::map<std::string, std::string>
info;
181 template<>
struct codec_traits<gpudb::InsertSymbolResponse>
186 ::avro::encode(e, v.
info);
191 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
193 const std::vector<size_t> fo = rd->fieldOrder();
195 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
204 ::avro::decode(d, v.
info);
215 ::avro::decode(d, v.
info);
A set of output parameters for const.
std::map< std::string, std::string > info
A set of input parameters for const.
std::vector< uint8_t > symbolData
InsertSymbolResponse()
Constructs an InsertSymbolResponse object with default parameter values.
std::map< std::string, std::string > options
InsertSymbolRequest()
Constructs an InsertSymbolRequest object with default parameter values.
InsertSymbolRequest(const std::string &symbolId_, const std::string &symbolFormat_, const std::vector< uint8_t > &symbolData_, const std::map< std::string, std::string > &options_)
Constructs an InsertSymbolRequest object with the specified parameters.