6 #ifndef __FILTER_BY_RANGE_H__
7 #define __FILTER_BY_RANGE_H__
41 options(std::map<std::string, std::string>())
73 FilterByRangeRequest(
const std::string& tableName_,
const std::string& viewName_,
const std::string& columnName_,
const double lowerBound_,
const double upperBound_,
const std::map<std::string, std::string>& options_):
88 std::map<std::string, std::string>
options;
94 template<>
struct codec_traits<gpudb::FilterByRangeRequest>
108 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
110 const std::vector<size_t> fo = rd->fieldOrder();
112 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
186 info(std::map<std::string, std::string>())
191 std::map<std::string, std::string>
info;
197 template<>
struct codec_traits<gpudb::FilterByRangeResponse>
201 ::avro::encode(e, v.
count);
202 ::avro::encode(e, v.
info);
207 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
209 const std::vector<size_t> fo = rd->fieldOrder();
211 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
216 ::avro::decode(d, v.
count);
220 ::avro::decode(d, v.
info);
230 ::avro::decode(d, v.
count);
231 ::avro::decode(d, v.
info);
FilterByRangeRequest(const std::string &tableName_, const std::string &viewName_, const std::string &columnName_, const double lowerBound_, const double upperBound_, const std::map< std::string, std::string > &options_)
Constructs a FilterByRangeRequest object with the specified parameters.
A set of output parameters for const.
std::map< std::string, std::string > info
FilterByRangeRequest()
Constructs a FilterByRangeRequest object with default parameter values.
std::map< std::string, std::string > options
A set of input parameters for const.
FilterByRangeResponse()
Constructs a FilterByRangeResponse object with default parameter values.