6 #ifndef __FILTER_BY_LIST_H__
7 #define __FILTER_BY_LIST_H__
42 options(std::map<std::string, std::string>())
89 FilterByListRequest(
const std::string& tableName_,
const std::string& viewName_,
const std::map<std::string, std::vector<std::string> >& columnValuesMap_,
const std::map<std::string, std::string>& options_):
106 template<>
struct codec_traits<gpudb::FilterByListRequest>
118 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
120 const std::vector<size_t> fo = rd->fieldOrder();
122 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
189 info(std::map<std::string, std::string>())
194 std::map<std::string, std::string>
info;
200 template<>
struct codec_traits<gpudb::FilterByListResponse>
204 ::avro::encode(e, v.
count);
205 ::avro::encode(e, v.
info);
210 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
212 const std::vector<size_t> fo = rd->fieldOrder();
214 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
219 ::avro::decode(d, v.
count);
223 ::avro::decode(d, v.
info);
233 ::avro::decode(d, v.
count);
234 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
std::map< std::string, std::string > options
FilterByListRequest()
Constructs a FilterByListRequest object with default parameter values.
A set of input parameters for const.
FilterByListResponse()
Constructs a FilterByListResponse object with default parameter values.
A set of output parameters for const.
FilterByListRequest(const std::string &tableName_, const std::string &viewName_, const std::map< std::string, std::vector< std::string > > &columnValuesMap_, const std::map< std::string, std::string > &options_)
Constructs a FilterByListRequest object with the specified parameters.
std::map< std::string, std::vector< std::string > > columnValuesMap