6 #ifndef __FILTER_BY_AREA_H__
7 #define __FILTER_BY_AREA_H__
38 options(std::map<std::string, std::string>())
78 FilterByAreaRequest(
const std::string& tableName_,
const std::string& viewName_,
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::FilterByAreaRequest>
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)
195 info(std::map<std::string, std::string>())
200 std::map<std::string, std::string>
info;
206 template<>
struct codec_traits<gpudb::FilterByAreaResponse>
210 ::avro::encode(e, v.
count);
211 ::avro::encode(e, v.
info);
216 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
218 const std::vector<size_t> fo = rd->fieldOrder();
220 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
225 ::avro::decode(d, v.
count);
229 ::avro::decode(d, v.
info);
239 ::avro::decode(d, v.
count);
240 ::avro::decode(d, v.
info);
FilterByAreaResponse()
Constructs a FilterByAreaResponse object with default parameter values.
std::map< std::string, std::string > info
A set of input parameters for const.
FilterByAreaRequest(const std::string &tableName_, const std::string &viewName_, 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 FilterByAreaRequest object with the specified parameters.
FilterByAreaRequest()
Constructs a FilterByAreaRequest object with default parameter values.
std::vector< double > xVector
A set of output parameters for const.
std::vector< double > yVector
std::map< std::string, std::string > options