6 #ifndef __CREATE_UNION_H__ 7 #define __CREATE_UNION_H__ 57 options(std::map<std::string, std::string>())
283 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_):
460 template<>
struct codec_traits<
gpudb::CreateUnionRequest>
473 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
475 const std::vector<size_t> fo = rd->fieldOrder();
477 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
532 info(std::map<std::string, std::string>())
552 std::map<std::string, std::string>
info;
558 template<>
struct codec_traits<
gpudb::CreateUnionResponse>
563 ::avro::encode(e, v.
info);
568 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
570 const std::vector<size_t> fo = rd->fieldOrder();
572 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
581 ::avro::decode(d, v.
info);
592 ::avro::decode(d, v.
info);
598 #endif // __CREATE_UNION_H__ std::vector< std::string > tableNames
The list of table names to merge, in [ schema_name. ]table_name format, using standard name resolutio...
CreateUnionResponse()
Constructs a CreateUnionResponse object with default parameters.
A set of parameters for GPUdb::createUnion.
std::vector< std::string > outputColumnNames
The list of names of the columns to be stored in the output table.
std::map< std::string, std::string > options
Optional parameters.
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
Additional information.
A set of results returned by GPUdb::createUnion.
std::string tableName
Value of tableName.
std::vector< std::vector< std::string > > inputColumnNames
The list of columns from each of the corresponding input tables.
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameters.
std::string tableName
Name of the table to be created, in [ schema_name. ]table_name format, using standard name resolution...