6 #ifndef __CREATE_UNION_H__ 7 #define __CREATE_UNION_H__ 57 options(std::map<std::string, std::string>())
280 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_):
458 template<>
struct codec_traits<
gpudb::CreateUnionRequest>
471 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
473 const std::vector<size_t> fo = rd->fieldOrder();
475 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
530 info(std::map<std::string, std::string>())
550 std::map<std::string, std::string>
info;
556 template<>
struct codec_traits<
gpudb::CreateUnionResponse>
561 ::avro::encode(e, v.
info);
566 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
568 const std::vector<size_t> fo = rd->fieldOrder();
570 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
579 ::avro::decode(d, v.
info);
590 ::avro::decode(d, v.
info);
596 #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...