6 #ifndef __CREATE_TRIGGER_BY_AREA_H__
7 #define __CREATE_TRIGGER_BY_AREA_H__
52 options(std::map<std::string, std::string>())
86 CreateTriggerByAreaRequest(
const std::string& requestId_,
const std::vector<std::string>& tableNames_,
const std::string& xColumnName_,
const std::vector<double>& xVector_,
const std::string& yColumnName_,
const std::vector<double>& yVector_,
const std::map<std::string, std::string>& options_):
109 template<>
struct codec_traits<gpudb::CreateTriggerByAreaRequest>
124 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
126 const std::vector<size_t> fo = rd->fieldOrder();
128 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
217 info(std::map<std::string, std::string>())
222 std::map<std::string, std::string>
info;
228 template<>
struct codec_traits<gpudb::CreateTriggerByAreaResponse>
233 ::avro::encode(e, v.
info);
238 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
240 const std::vector<size_t> fo = rd->fieldOrder();
242 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
251 ::avro::decode(d, v.
info);
262 ::avro::decode(d, v.
info);
CreateTriggerByAreaResponse()
Constructs a CreateTriggerByAreaResponse object with default parameter values.
std::map< std::string, std::string > options
A set of output parameters for const.
CreateTriggerByAreaRequest()
Constructs a CreateTriggerByAreaRequest object with default parameter values.
std::vector< double > yVector
std::vector< double > xVector
std::vector< std::string > tableNames
A set of input parameters for const.
CreateTriggerByAreaRequest(const std::string &requestId_, const std::vector< std::string > &tableNames_, const std::string &xColumnName_, const std::vector< double > &xVector_, const std::string &yColumnName_, const std::vector< double > &yVector_, const std::map< std::string, std::string > &options_)
Constructs a CreateTriggerByAreaRequest object with the specified parameters.
std::map< std::string, std::string > info