37 options(std::map<std::string, std::string>())
78 FilterRequest(
const std::string& tableName_,
const std::string& viewName_,
const std::string& expression_,
const std::map<std::string, std::string>& options_):
89 std::map<std::string, std::string>
options;
95 template<>
struct codec_traits<gpudb::FilterRequest>
107 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
109 const std::vector<size_t> fo = rd->fieldOrder();
111 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
173 info(std::map<std::string, std::string>())
178 std::map<std::string, std::string>
info;
184 template<>
struct codec_traits<gpudb::FilterResponse>
188 ::avro::encode(e, v.
count);
189 ::avro::encode(e, v.
info);
194 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
196 const std::vector<size_t> fo = rd->fieldOrder();
198 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
203 ::avro::decode(d, v.
count);
207 ::avro::decode(d, v.
info);
217 ::avro::decode(d, v.
count);
218 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
FilterRequest()
Constructs a FilterRequest object with default parameter values.
FilterResponse()
Constructs a FilterResponse object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > info
A set of output parameters for const.
FilterRequest(const std::string &tableName_, const std::string &viewName_, const std::string &expression_, const std::map< std::string, std::string > &options_)
Constructs a FilterRequest object with the specified parameters.