6 #ifndef __CREATE_UNION_H__
7 #define __CREATE_UNION_H__
59 options(std::map<std::string, std::string>())
188 CreateUnionRequest(
const std::string& tableName_,
const std::vector<std::string>& tableNames_,
const std::vector<std::vector<std::string> >& inputColumnNames_,
const std::vector<std::string>& outputColumnNames_,
const std::map<std::string, std::string>& options_):
207 template<>
struct codec_traits<gpudb::CreateUnionRequest>
220 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
222 const std::vector<size_t> fo = rd->fieldOrder();
224 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
312 info(std::map<std::string, std::string>())
317 std::map<std::string, std::string>
info;
323 template<>
struct codec_traits<gpudb::CreateUnionResponse>
328 ::avro::encode(e, v.
info);
333 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
335 const std::vector<size_t> fo = rd->fieldOrder();
337 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
346 ::avro::decode(d, v.
info);
357 ::avro::decode(d, v.
info);
std::vector< std::string > tableNames
CreateUnionResponse()
Constructs a CreateUnionResponse object with default parameter values.
A set of input parameters for const.
std::vector< std::string > outputColumnNames
std::map< std::string, std::string > options
CreateUnionRequest(const std::string &tableName_, const std::vector< std::string > &tableNames_, const std::vector< std::vector< std::string > > &inputColumnNames_, const std::vector< std::string > &outputColumnNames_, const std::map< std::string, std::string > &options_)
Constructs a CreateUnionRequest object with the specified parameters.
std::map< std::string, std::string > info
A set of output parameters for const.
std::vector< std::vector< std::string > > inputColumnNames
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameter values.