6 #ifndef __AGGREGATE_MIN_MAX_H__ 7 #define __AGGREGATE_MIN_MAX_H__ 29 options(std::map<std::string, std::string>())
45 AggregateMinMaxRequest(
const std::string& tableName_,
const std::string& columnName_,
const std::map<std::string, std::string>& options_):
54 std::map<std::string, std::string>
options;
71 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
73 const std::vector<size_t> fo = rd->fieldOrder();
75 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
140 ::avro::encode(e, v.
min);
141 ::avro::encode(e, v.
max);
146 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
148 const std::vector<size_t> fo = rd->fieldOrder();
150 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
155 ::avro::decode(d, v.
min);
159 ::avro::decode(d, v.
max);
169 ::avro::decode(d, v.
min);
170 ::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.