|
| static void | convertFromBytea (const PgSqlResult &r, const int row, const size_t col, uint8_t *buffer, const size_t buffer_size, size_t &bytes_converted) |
| | Converts a column in a row in a result set to a binary bytes. More...
|
| |
| static time_t | convertFromDatabaseTime (const std::string &db_time_val) |
| | Converts time stamp from the database to a time_t. More...
|
| |
| static std::string | convertToDatabaseTime (const time_t input_time) |
| | Converts time_t value to a text representation in local time. More...
|
| |
| static std::string | convertToDatabaseTime (const time_t cltt, const uint32_t valid_lifetime) |
| | Converts lease expiration time to a text representation in local time. More...
|
| |
| static std::string | dumpRow (const PgSqlResult &r, int row) |
| | Diagnostic tool which dumps the Result row contents as a string. More...
|
| |
| static std::string | getColumnLabel (const PgSqlResult &r, const size_t col) |
| | Fetches the name of the column in a result set. More...
|
| |
| static void | getColumnValue (const PgSqlResult &r, const int row, const size_t col, std::string &value) |
| | Fetches text column value as a string. More...
|
| |
| static void | getColumnValue (const PgSqlResult &r, const int row, const size_t col, bool &value) |
| | Fetches boolean text ('t' or 'f') as a bool. More...
|
| |
| static void | getColumnValue (const PgSqlResult &r, const int row, const size_t col, uint8_t &value) |
| | Fetches an integer text column as a uint8_t. More...
|
| |
| template<typename T > |
| static void | getColumnValue (const PgSqlResult &r, const int row, const size_t col, T &value) |
| | Fetches a text column as the given value type. More...
|
| |
| static isc::asiolink::IOAddress | getIPv6Value (const PgSqlResult &r, const int row, const size_t col) |
| | Converts a column in a row in a result set into IPv6 address. More...
|
| |
| static const char * | getRawColumnValue (const PgSqlResult &r, const int row, const size_t col) |
| | Gets a pointer to the raw column value in a result set row. More...
|
| |
| static bool | isColumnNull (const PgSqlResult &r, const int row, const size_t col) |
| | Returns true if a column within a row is null. More...
|
| |
Base class for marshalling leases to and from PostgreSQL.
Provides the common functionality to set up binding information between lease objects in the program and their database representation in the database.
Definition at line 346 of file pgsql_lease_mgr.cc.