6 #ifndef __ALTER_VIDEO_H__
7 #define __ALTER_VIDEO_H__
27 options(std::map<std::string, std::string>())
46 AlterVideoRequest(
const std::string& path_,
const std::map<std::string, std::string>& options_):
53 std::map<std::string, std::string>
options;
59 template<>
struct codec_traits<gpudb::AlterVideoRequest>
63 ::avro::encode(e, v.
path);
69 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
71 const std::vector<size_t> fo = rd->fieldOrder();
73 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
78 ::avro::decode(d, v.
path);
92 ::avro::decode(d, v.
path);
117 info(std::map<std::string, std::string>())
122 std::map<std::string, std::string>
info;
128 template<>
struct codec_traits<gpudb::AlterVideoResponse>
132 ::avro::encode(e, v.
path);
133 ::avro::encode(e, v.
info);
138 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
140 const std::vector<size_t> fo = rd->fieldOrder();
142 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
147 ::avro::decode(d, v.
path);
151 ::avro::decode(d, v.
info);
161 ::avro::decode(d, v.
path);
162 ::avro::decode(d, v.
info);
A set of input parameters for const.
std::map< std::string, std::string > info
AlterVideoRequest(const std::string &path_, const std::map< std::string, std::string > &options_)
Constructs an AlterVideoRequest object with the specified parameters.
AlterVideoResponse()
Constructs an AlterVideoResponse object with default parameter values.
AlterVideoRequest()
Constructs an AlterVideoRequest object with default parameter values.
std::map< std::string, std::string > options
A set of output parameters for const.