6 #ifndef __CREATE_JOIN_TABLE_H__ 7 #define __CREATE_JOIN_TABLE_H__ 33 options(std::map<std::string, std::string>())
180 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_):
310 template<>
struct codec_traits<
gpudb::CreateJoinTableRequest>
323 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
325 const std::vector<size_t> fo = rd->fieldOrder();
327 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
383 info(std::map<std::string, std::string>())
408 std::map<std::string, std::string>
info;
414 template<>
struct codec_traits<
gpudb::CreateJoinTableResponse>
419 ::avro::encode(e, v.
count);
420 ::avro::encode(e, v.
info);
425 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
427 const std::vector<size_t> fo = rd->fieldOrder();
429 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
438 ::avro::decode(d, v.
count);
442 ::avro::decode(d, v.
info);
453 ::avro::decode(d, v.
count);
454 ::avro::decode(d, v.
info);
460 #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.