6 #ifndef __AGGREGATE_STATISTICS_BY_RANGE_H__ 7 #define __AGGREGATE_STATISTICS_BY_RANGE_H__ 58 options(std::map<std::string, std::string>())
108 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_):
143 ::avro::encode(e, v.
stats);
144 ::avro::encode(e, v.
start);
145 ::avro::encode(e, v.
end);
152 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
154 const std::vector<size_t> fo = rd->fieldOrder();
156 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
177 ::avro::decode(d, v.
stats);
181 ::avro::decode(d, v.
start);
185 ::avro::decode(d, v.
end);
207 ::avro::decode(d, v.
stats);
208 ::avro::decode(d, v.
start);
209 ::avro::decode(d, v.
end);
258 stats(std::map<std::string, std::vector<double> >())
262 std::map<std::string, std::vector<double> >
stats;
272 ::avro::encode(e, v.
stats);
277 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
279 const std::vector<size_t> fo = rd->fieldOrder();
281 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
286 ::avro::decode(d, v.
stats);
296 ::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.
A set of input parameters for aggregateStatisticsByRange(const AggregateStatisticsByRangeRequest&) co...
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.
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...