OmniSciDB
a5dc49c757
|
Namespaces | |
anonymous_namespace{DBEngine.cpp} | |
Classes | |
class | CursorImpl |
class | DBEngineImpl |
class | Cursor |
class | DBEngine |
class | ColumnDetails |
class | Row |
Enumerations | |
enum | ColumnType { ColumnType::SMALLINT = 0, ColumnType::INT = 1, ColumnType::BIGINT = 2, ColumnType::FLOAT = 3, ColumnType::DECIMAL = 4, ColumnType::DOUBLE = 5, ColumnType::STR = 6, ColumnType::TIME = 7, ColumnType::TIMESTAMP = 8, ColumnType::DATE = 9, ColumnType::BOOL = 10, ColumnType::INTERVAL_DAY_TIME = 11, ColumnType::INTERVAL_YEAR_MONTH = 12, ColumnType::POINT = 13, ColumnType::LINESTRING = 14, ColumnType::POLYGON = 15, ColumnType::MULTIPOLYGON = 16, ColumnType::TINYINT = 17, ColumnType::GEOMETRY = 18, ColumnType::GEOGRAPHY = 19, ColumnType::UNKNOWN = 20 } |
enum | ColumnEncoding { ColumnEncoding::NONE = 0, ColumnEncoding::FIXED = 1, ColumnEncoding::RL = 2, ColumnEncoding::DIFF = 3, ColumnEncoding::DICT = 4, ColumnEncoding::SPARSE = 5, ColumnEncoding::GEOINT = 6, ColumnEncoding::DATE_IN_DAYS = 7 } |
Functions | |
DBEngineImpl * | getImpl (DBEngine *ptr) |
const DBEngineImpl * | getImpl (const DBEngine *ptr) |
CursorImpl * | getImpl (Cursor *ptr) |
const CursorImpl * | getImpl (const Cursor *ptr) |
ColumnType | sqlToColumnType (const SQLTypes &type) |
ColumnEncoding | sqlToColumnEncoding (const EncodingType &type) |
|
strong |
Enumerator | |
---|---|
NONE | |
FIXED | |
RL | |
DIFF | |
DICT | |
SPARSE | |
GEOINT | |
DATE_IN_DAYS |
Definition at line 48 of file DBETypes.h.
|
strong |
Enumerator | |
---|---|
SMALLINT | |
INT | |
BIGINT | |
FLOAT | |
DECIMAL | |
DOUBLE | |
STR | |
TIME | |
TIMESTAMP | |
DATE | |
BOOL | |
INTERVAL_DAY_TIME | |
INTERVAL_YEAR_MONTH | |
POINT | |
LINESTRING | |
POLYGON | |
MULTIPOLYGON | |
TINYINT | |
GEOMETRY | |
GEOGRAPHY | |
UNKNOWN |
Definition at line 24 of file DBETypes.h.
|
inline |
DBEngine downcasting methods
Definition at line 461 of file DBEngine.cpp.
Referenced by EmbeddedDatabase::DBEngine::executeDDL(), EmbeddedDatabase::DBEngine::executeDML(), EmbeddedDatabase::DBEngine::executeRA(), EmbeddedDatabase::Cursor::getArrowRecordBatch(), EmbeddedDatabase::Cursor::getColCount(), EmbeddedDatabase::Cursor::getColType(), EmbeddedDatabase::Cursor::getNextRow(), EmbeddedDatabase::Cursor::getRowCount(), EmbeddedDatabase::DBEngine::getTableDetails(), EmbeddedDatabase::DBEngine::getTables(), EmbeddedDatabase::DBEngine::importArrowTable(), EmbeddedDatabase::DBEngine::login(), and EmbeddedDatabase::DBEngine::setDatabase().
|
inline |
Definition at line 464 of file DBEngine.cpp.
|
inline |
Cursor downcasting methods
Definition at line 516 of file DBEngine.cpp.
|
inline |
Definition at line 520 of file DBEngine.cpp.
ColumnEncoding EmbeddedDatabase::sqlToColumnEncoding | ( | const EncodingType & | type | ) |
Definition at line 162 of file DBETypes.cpp.
References DATE_IN_DAYS, DICT, DIFF, FIXED, GEOINT, kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_DIFF, kENCODING_FIXED, kENCODING_GEOINT, kENCODING_NONE, kENCODING_RL, kENCODING_SPARSE, NONE, RL, and SPARSE.
Referenced by EmbeddedDatabase::DBEngineImpl::getTableDetails().
ColumnType EmbeddedDatabase::sqlToColumnType | ( | const SQLTypes & | type | ) |
Definition at line 111 of file DBETypes.cpp.
References BIGINT, BOOL, DATE, DECIMAL, DOUBLE, FLOAT, GEOGRAPHY, GEOMETRY, INT, INTERVAL_DAY_TIME, INTERVAL_YEAR_MONTH, kBIGINT, kBOOLEAN, kCHAR, kDATE, kDECIMAL, kDOUBLE, kFLOAT, kGEOGRAPHY, kGEOMETRY, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kLINESTRING, kMULTIPOLYGON, kNUMERIC, kPOINT, kPOLYGON, kSMALLINT, kTEXT, kTIME, kTIMESTAMP, kTINYINT, kVARCHAR, LINESTRING, MULTIPOLYGON, POINT, POLYGON, SMALLINT, STR, TIME, TIMESTAMP, TINYINT, and UNKNOWN.
Referenced by EmbeddedDatabase::CursorImpl::getColType(), and EmbeddedDatabase::DBEngineImpl::getTableDetails().