6 #ifndef __FILTER_BY_AREA_GEOMETRY_H__
7 #define __FILTER_BY_AREA_GEOMETRY_H__
37 options(std::map<std::string, std::string>())
73 FilterByAreaGeometryRequest(
const std::string& tableName_,
const std::string& viewName_,
const std::string& columnName_,
const std::vector<double>& xVector_,
const std::vector<double>& yVector_,
const std::map<std::string, std::string>& options_):
88 std::map<std::string, std::string>
options;
94 template<>
struct codec_traits<gpudb::FilterByAreaGeometryRequest>
108 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
110 const std::vector<size_t> fo = rd->fieldOrder();
112 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
182 info(std::map<std::string, std::string>())
187 std::map<std::string, std::string>
info;
193 template<>
struct codec_traits<gpudb::FilterByAreaGeometryResponse>
197 ::avro::encode(e, v.
count);
198 ::avro::encode(e, v.
info);
203 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
205 const std::vector<size_t> fo = rd->fieldOrder();
207 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
212 ::avro::decode(d, v.
count);
216 ::avro::decode(d, v.
info);
226 ::avro::decode(d, v.
count);
227 ::avro::decode(d, v.
info);
std::vector< double > xVector
std::map< std::string, std::string > options
FilterByAreaGeometryRequest()
Constructs a FilterByAreaGeometryRequest object with default parameter values.
std::vector< double > yVector
FilterByAreaGeometryRequest(const std::string &tableName_, const std::string &viewName_, const std::string &columnName_, const std::vector< double > &xVector_, const std::vector< double > &yVector_, const std::map< std::string, std::string > &options_)
Constructs a FilterByAreaGeometryRequest object with the specified parameters.
A set of output parameters for const.
FilterByAreaGeometryResponse()
Constructs a FilterByAreaGeometryResponse object with default parameter values.
std::map< std::string, std::string > info
A set of input parameters for const.