6 #ifndef __AGGREGATE_STATISTICS_BY_RANGE_H__ 7 #define __AGGREGATE_STATISTICS_BY_RANGE_H__ 55 options(std::map<std::string, std::string>())
103 tableName(tableName),
104 selectExpression(selectExpression),
105 columnName(columnName),
106 valueColumnName(valueColumnName),
137 ::avro::encode(e, v.
stats);
138 ::avro::encode(e, v.
start);
139 ::avro::encode(e, v.
end);
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)
171 ::avro::decode(d, v.
stats);
175 ::avro::decode(d, v.
start);
179 ::avro::decode(d, v.
end);
201 ::avro::decode(d, v.
stats);
202 ::avro::decode(d, v.
start);
203 ::avro::decode(d, v.
end);
249 stats(std::map<std::string, std::vector<double> >())
253 std::map<std::string, std::vector<double> >
stats;
263 ::avro::encode(e, v.
stats);
268 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
270 const std::vector<size_t> fo = rd->fieldOrder();
272 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
277 ::avro::decode(d, v.
stats);
287 ::avro::decode(d, v.
stats);
AggregateStatisticsByRangeResponse()
Constructs an AggregateStatisticsByRangeResponse object with default parameter values.
std::string valueColumnName
std::string selectExpression
AggregateStatisticsByRangeRequest()
Constructs an AggregateStatisticsByRangeRequest object with default parameter values.
AggregateStatisticsByRangeRequest(const std::string &tableName, const std::string &selectExpression, const std::string &columnName, const std::string &valueColumnName, const std::string &stats, const double start, const double end, const double interval, const std::map< std::string, std::string > &options)
Constructs an AggregateStatisticsByRangeRequest object with the specified parameters.
A set of input parameters for aggregateStatisticsByRange(const AggregateStatisticsByRangeRequest&) co...
std::map< std::string, std::vector< double > > stats
std::map< std::string, std::string > options
A set of output parameters for aggregateStatisticsByRange(const AggregateStatisticsByRangeRequest&) c...