6 #ifndef __AGGREGATE_MIN_MAX_GEOMETRY_H__
7 #define __AGGREGATE_MIN_MAX_GEOMETRY_H__
29 options(std::map<std::string, std::string>())
57 std::map<std::string, std::string>
options;
63 template<>
struct codec_traits<gpudb::AggregateMinMaxGeometryRequest>
74 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
76 const std::vector<size_t> fo = rd->fieldOrder();
78 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
131 info(std::map<std::string, std::string>())
139 std::map<std::string, std::string>
info;
145 template<>
struct codec_traits<gpudb::AggregateMinMaxGeometryResponse>
149 ::avro::encode(e, v.
minX);
150 ::avro::encode(e, v.
maxX);
151 ::avro::encode(e, v.
minY);
152 ::avro::encode(e, v.
maxY);
153 ::avro::encode(e, v.
info);
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
167 ::avro::decode(d, v.
minX);
171 ::avro::decode(d, v.
maxX);
175 ::avro::decode(d, v.
minY);
179 ::avro::decode(d, v.
maxY);
183 ::avro::decode(d, v.
info);
193 ::avro::decode(d, v.
minX);
194 ::avro::decode(d, v.
maxX);
195 ::avro::decode(d, v.
minY);
196 ::avro::decode(d, v.
maxY);
197 ::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