declare this class scoped local to avoid exposing rapidjson in the header file
More...
declare this class scoped local to avoid exposing rapidjson in the header file
Definition at line 407 of file DdlCommandExecutor.cpp.
SQLTypes JsonColumnSqlType::getSqlType |
( |
const std::string & |
type | ) |
|
|
staticprivate |
Definition at line 1240 of file DdlCommandExecutor.cpp.
References kBIGINT, kBOOLEAN, kDATE, kDECIMAL, kDOUBLE, kFLOAT, kINT, kLINESTRING, kMULTILINESTRING, kMULTIPOINT, kMULTIPOLYGON, kPOINT, kPOLYGON, kSMALLINT, kTEXT, kTIME, kTIMESTAMP, and kTINYINT.
1241 if (boost::iequals(
type,
"BIGINT")) {
1244 if (boost::iequals(
type,
"BOOLEAN")) {
1247 if (boost::iequals(
type,
"DATE")) {
1250 if (boost::iequals(
type,
"DECIMAL")) {
1253 if (boost::iequals(
type,
"DOUBLE")) {
1256 if (boost::iequals(
type,
"FLOAT")) {
1259 if (boost::iequals(
type,
"INTEGER")) {
1262 if (boost::iequals(
type,
"LINESTRING")) {
1265 if (boost::iequals(
type,
"MULTILINESTRING")) {
1268 if (boost::iequals(
type,
"MULTIPOLYGON")) {
1271 if (boost::iequals(
type,
"POINT")) {
1274 if (boost::iequals(
type,
"MULTIPOINT")) {
1277 if (boost::iequals(
type,
"POLYGON")) {
1280 if (boost::iequals(
type,
"SMALLINT")) {
1283 if (boost::iequals(
type,
"TEXT")) {
1286 if (boost::iequals(
type,
"TIME")) {
1289 if (boost::iequals(
type,
"TIMESTAMP")) {
1292 if (boost::iequals(
type,
"TINYINT")) {
1296 throw std::runtime_error{
"Unsupported type \"" +
type +
"\" specified."};