6 #ifndef __INSERT_RECORDS_FROM_FILES_H__
7 #define __INSERT_RECORDS_FROM_FILES_H__
43 options(std::map<std::string, std::string>())
480 InsertRecordsFromFilesRequest(
const std::string& tableName_,
const std::vector<std::string>& filepaths_,
const std::map<std::string, std::string>& createTableOptions_,
const std::map<std::string, std::string>& options_):
497 template<>
struct codec_traits<gpudb::InsertRecordsFromFilesRequest>
509 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
511 const std::vector<size_t> fo = rd->fieldOrder();
513 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
585 info(std::map<std::string, std::string>())
594 std::map<std::string, std::string>
info;
600 template<>
struct codec_traits<gpudb::InsertRecordsFromFilesResponse>
605 ::avro::encode(e, v.
typeId);
609 ::avro::encode(e, v.
info);
614 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
616 const std::vector<size_t> fo = rd->fieldOrder();
618 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
627 ::avro::decode(d, v.
typeId);
643 ::avro::decode(d, v.
info);
654 ::avro::decode(d, v.
typeId);
658 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
std::map< std::string, std::string > createTableOptions
InsertRecordsFromFilesResponse()
Constructs an InsertRecordsFromFilesResponse object with default parameter values.
A set of output parameters for const.
InsertRecordsFromFilesRequest(const std::string &tableName_, const std::vector< std::string > &filepaths_, const std::map< std::string, std::string > &createTableOptions_, const std::map< std::string, std::string > &options_)
Constructs an InsertRecordsFromFilesRequest object with the specified parameters. ...
std::map< std::string, std::string > info
std::vector< std::string > filepaths
A set of input parameters for const.
InsertRecordsFromFilesRequest()
Constructs an InsertRecordsFromFilesRequest object with default parameter values. ...