6 #ifndef __CREATE_SCHEMA_H__ 7 #define __CREATE_SCHEMA_H__ 28 options(std::map<std::string, std::string>())
61 CreateSchemaRequest(
const std::string& schemaName_,
const std::map<std::string, std::string>& options_):
91 std::map<std::string, std::string>
options;
97 template<>
struct codec_traits<
gpudb::CreateSchemaRequest>
107 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
109 const std::vector<size_t> fo = rd->fieldOrder();
111 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
151 info(std::map<std::string, std::string>())
163 std::map<std::string, std::string>
info;
169 template<>
struct codec_traits<
gpudb::CreateSchemaResponse>
174 ::avro::encode(e, v.
info);
179 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
181 const std::vector<size_t> fo = rd->fieldOrder();
183 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
192 ::avro::decode(d, v.
info);
203 ::avro::decode(d, v.
info);
209 #endif // __CREATE_SCHEMA_H__
std::map< std::string, std::string > info
Additional information.
CreateSchemaRequest(const std::string &schemaName_, const std::map< std::string, std::string > &options_)
Constructs a CreateSchemaRequest object with the specified parameters.
A set of parameters for GPUdb::createSchema.
A set of results returned by GPUdb::createSchema.
CreateSchemaResponse()
Constructs a CreateSchemaResponse object with default parameters.
CreateSchemaRequest()
Constructs a CreateSchemaRequest object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
std::string schemaName
Value of schemaName.
std::string schemaName
Name of the schema to be created.