6 #ifndef __AGGREGATE_MIN_MAX_H__ 7 #define __AGGREGATE_MIN_MAX_H__ 29 options(std::map<std::string, std::string>())
48 columnName(columnName),
55 std::map<std::string, std::string>
options;
72 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
74 const std::vector<size_t> fo = rd->fieldOrder();
76 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
141 ::avro::encode(e, v.
min);
142 ::avro::encode(e, v.
max);
147 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
149 const std::vector<size_t> fo = rd->fieldOrder();
151 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 ::avro::decode(d, v.
min);
160 ::avro::decode(d, v.
max);
170 ::avro::decode(d, v.
min);
171 ::avro::decode(d, v.
max);
std::map< std::string, std::string > options
AggregateMinMaxResponse()
Constructs an AggregateMinMaxResponse object with default parameter values.
AggregateMinMaxRequest(const std::string &tableName, const std::string &columnName, const std::map< std::string, std::string > &options)
Constructs an AggregateMinMaxRequest object with the specified parameters.
AggregateMinMaxRequest()
Constructs an AggregateMinMaxRequest object with default parameter values.
A set of input parameters for aggregateMinMax(const AggregateMinMaxRequest&) const.
A set of output parameters for aggregateMinMax(const AggregateMinMaxRequest&) const.