6 #ifndef __CREATE_JOIN_TABLE_H__ 7 #define __CREATE_JOIN_TABLE_H__ 33 options(std::map<std::string, std::string>())
220 CreateJoinTableRequest(
const std::string& joinTableName_,
const std::vector<std::string>& tableNames_,
const std::vector<std::string>& columnNames_,
const std::vector<std::string>& expressions_,
const std::map<std::string, std::string>& options_):
378 template<>
struct codec_traits<
gpudb::CreateJoinTableRequest>
391 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
393 const std::vector<size_t> fo = rd->fieldOrder();
395 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
451 info(std::map<std::string, std::string>())
476 std::map<std::string, std::string>
info;
482 template<>
struct codec_traits<
gpudb::CreateJoinTableResponse>
487 ::avro::encode(e, v.
count);
488 ::avro::encode(e, v.
info);
493 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
495 const std::vector<size_t> fo = rd->fieldOrder();
497 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
506 ::avro::decode(d, v.
count);
510 ::avro::decode(d, v.
info);
521 ::avro::decode(d, v.
count);
522 ::avro::decode(d, v.
info);
528 #endif // __CREATE_JOIN_TABLE_H__ std::string joinTableName
Value of joinTableName.
std::map< std::string, std::string > info
Additional information.
std::vector< std::string > columnNames
List of member table columns or column expressions to be included in the join.
std::map< std::string, std::string > options
Optional parameters.
std::vector< std::string > expressions
An optional list of expressions to combine and filter the joined tables.
int64_t count
The number of records in the join table filtered by the given select expression.
A set of parameters for GPUdb::createJoinTable.
CreateJoinTableResponse()
Constructs a CreateJoinTableResponse object with default parameters.
CreateJoinTableRequest(const std::string &joinTableName_, const std::vector< std::string > &tableNames_, const std::vector< std::string > &columnNames_, const std::vector< std::string > &expressions_, const std::map< std::string, std::string > &options_)
Constructs a CreateJoinTableRequest object with the specified parameters.
A set of results returned by GPUdb::createJoinTable.
std::string joinTableName
Name of the join table to be created, in [ schema_name. ]table_name format, using standard name resol...
CreateJoinTableRequest()
Constructs a CreateJoinTableRequest object with default parameters.
std::vector< std::string > tableNames
The list of table names composing the join, each in [ schema_name.