6 #ifndef __CREATE_TRIGGER_BY_AREA_H__
7 #define __CREATE_TRIGGER_BY_AREA_H__
48 options(std::map<std::string, std::string>())
78 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_):
95 std::map<std::string, std::string>
options;
101 template<>
struct codec_traits<gpudb::CreateTriggerByAreaRequest>
116 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
118 const std::vector<size_t> fo = rd->fieldOrder();
120 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
205 info(std::map<std::string, std::string>())
210 std::map<std::string, std::string>
info;
216 template<>
struct codec_traits<gpudb::CreateTriggerByAreaResponse>
221 ::avro::encode(e, v.
info);
226 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
228 const std::vector<size_t> fo = rd->fieldOrder();
230 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
239 ::avro::decode(d, v.
info);
250 ::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