6 #ifndef __AGGREGATE_MIN_MAX_GEOMETRY_H__
7 #define __AGGREGATE_MIN_MAX_GEOMETRY_H__
29 options(std::map<std::string, std::string>())
53 std::map<std::string, std::string>
options;
59 template<>
struct codec_traits<gpudb::AggregateMinMaxGeometryRequest>
70 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
72 const std::vector<size_t> fo = rd->fieldOrder();
74 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
127 info(std::map<std::string, std::string>())
135 std::map<std::string, std::string>
info;
141 template<>
struct codec_traits<gpudb::AggregateMinMaxGeometryResponse>
145 ::avro::encode(e, v.
minX);
146 ::avro::encode(e, v.
maxX);
147 ::avro::encode(e, v.
minY);
148 ::avro::encode(e, v.
maxY);
149 ::avro::encode(e, v.
info);
154 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
156 const std::vector<size_t> fo = rd->fieldOrder();
158 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
163 ::avro::decode(d, v.
minX);
167 ::avro::decode(d, v.
maxX);
171 ::avro::decode(d, v.
minY);
175 ::avro::decode(d, v.
maxY);
179 ::avro::decode(d, v.
info);
189 ::avro::decode(d, v.
minX);
190 ::avro::decode(d, v.
maxX);
191 ::avro::decode(d, v.
minY);
192 ::avro::decode(d, v.
maxY);
193 ::avro::decode(d, v.
info);
AggregateMinMaxGeometryResponse()
Constructs an AggregateMinMaxGeometryResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
AggregateMinMaxGeometryRequest()
Constructs an AggregateMinMaxGeometryRequest object with default parameter values.
A set of input parameters for const.
AggregateMinMaxGeometryRequest(const std::string &tableName_, const std::string &columnName_, const std::map< std::string, std::string > &options_)
Constructs an AggregateMinMaxGeometryRequest object with the specified parameters.
std::map< std::string, std::string > options