#include <DatabaseResultRow.hpp>
A table of data representing a database query result, which is usually generated by executing a statement that queries the database. DatabaseResultRow instances are not expected to live once DatabaseResultSet::next has been called on its parent result set.
◆ getBlobByPos()
virtual std::shared_ptr<DatabaseBlob> ledger::core::api::DatabaseResultRow::getBlobByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getColumnName()
virtual std::string ledger::core::api::DatabaseResultRow::getColumnName |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the column name at the given position.
- Returns
- the column name.
Implemented in ResultRow.
◆ getDoubleByPos()
virtual double ledger::core::api::DatabaseResultRow::getDoubleByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getFloatByPos()
virtual float ledger::core::api::DatabaseResultRow::getFloatByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getIntByPos()
virtual int32_t ledger::core::api::DatabaseResultRow::getIntByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getLongByPos()
virtual int64_t ledger::core::api::DatabaseResultRow::getLongByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getShortByPos()
virtual int16_t ledger::core::api::DatabaseResultRow::getShortByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ getStringByPos()
virtual std::string ledger::core::api::DatabaseResultRow::getStringByPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Get the value at the given position. The underneath value has to be an 16bit integer otherwise this call will fail.
- Returns
- the value at the given position.
Implemented in ResultRow.
◆ isNullAtPos()
virtual bool ledger::core::api::DatabaseResultRow::isNullAtPos |
( |
int32_t |
pos | ) |
|
|
pure virtual |
Check if the value is NULL at the given position.
- Returns
- true if the value is NULL, false otherwise.
Implemented in ResultRow.
The documentation for this class was generated from the following file: