6 #ifndef __ALTER_VIDEO_H__ 7 #define __ALTER_VIDEO_H__ 24 options(std::map<std::string, std::string>())
44 AlterVideoRequest(
const std::string& path_,
const std::map<std::string, std::string>& options_):
65 std::map<std::string, std::string>
options;
71 template<>
struct codec_traits<
gpudb::AlterVideoRequest>
75 ::avro::encode(e, v.
path);
81 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
83 const std::vector<size_t> fo = rd->fieldOrder();
85 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
90 ::avro::decode(d, v.
path);
104 ::avro::decode(d, v.
path);
124 info(std::map<std::string, std::string>())
136 std::map<std::string, std::string>
info;
142 template<>
struct codec_traits<
gpudb::AlterVideoResponse>
146 ::avro::encode(e, v.
path);
147 ::avro::encode(e, v.
info);
152 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
154 const std::vector<size_t> fo = rd->fieldOrder();
156 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
161 ::avro::decode(d, v.
path);
165 ::avro::decode(d, v.
info);
175 ::avro::decode(d, v.
path);
176 ::avro::decode(d, v.
info);
182 #endif // __ALTER_VIDEO_H__ A set of parameters for GPUdb::alterVideo.
std::map< std::string, std::string > info
Additional information.
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 parameters.
AlterVideoRequest()
Constructs an AlterVideoRequest object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
A set of results returned by GPUdb::alterVideo.
std::string path
Fully qualified KIFS path to the video file.
std::string path
Fully-qualified KiFS path to the video to be altered.