6 #ifndef __GPUDB_WRAPPER_H__
7 #define __GPUDB_WRAPPER_H__
27 data(std::vector<uint8_t>()),
42 template<>
struct codec_traits<gpudb::RawGpudbResponse>
46 ::avro::encode(e, v.
status);
49 ::avro::encode(e, v.
data);
55 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
57 const std::vector<size_t> fo = rd->fieldOrder();
59 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
64 ::avro::decode(d, v.
status);
76 ::avro::decode(d, v.
data);
90 ::avro::decode(d, v.
status);
93 ::avro::decode(d, v.
data);
RawGpudbResponse()
Constructs a RawGpudbResponse object with default parameter values.
A set of output parameters forendpoint /gpudbresponse}.
std::vector< uint8_t > data