![]() |
C Driver API 3.0.0
API for the NuoDB C Driver Library
|
NuoDB Large Object More...
#include <lob.h>
Data Fields | |
_NuoDB_Lob_state_t * | _state |
size_t(* | getCharLength )(const NuoDB_Lob *_this) |
Returns the number of UTF-8 characters in the Lob data. | |
const char *(* | getData )(const NuoDB_Lob *_this) |
Gets a pointer to Lob data. | |
size_t(* | getLength )(const NuoDB_Lob *_this) |
Returns the current length of the Lob data. | |
NuoDB_Lob_Type(* | getType )(const NuoDB_Lob *_this) |
Returns the type of Lob data. | |
NuoDB_Status(* | setData )(NuoDB_Lob *_this, const char *buffer, size_t len) |
Sets a pointer to client's data buffer. | |
NuoDB Large Object
NuoDB_Lob is a container which is used to represent any of the following SQL Lob types:
size_t(* NuoDB_Lob::getCharLength) (const NuoDB_Lob *_this) |
Returns the number of UTF-8 characters in the Lob data.
[in] | _this | a pointer to the current (this) data structure. |
const char *(* NuoDB_Lob::getData) (const NuoDB_Lob *_this) |
Gets a pointer to Lob data.
[in] | _this | a pointer to the current (this) data structure. |
size_t(* NuoDB_Lob::getLength) (const NuoDB_Lob *_this) |
Returns the current length of the Lob data.
[in] | _this | a pointer to the current (this) data structure. |
NuoDB_Lob_Type(* NuoDB_Lob::getType) (const NuoDB_Lob *_this) |
Returns the type of Lob data.
[in] | _this | a pointer to the current (this) data structure. |
NuoDB_Status(* NuoDB_Lob::setData) (NuoDB_Lob *_this, const char *buffer, size_t len) |
Sets a pointer to client's data buffer.
Makes a shallow copy of the client data pointer.
[in] | _this | a pointer to the current (this) data structure. |
[in] | buffer | Client data pointer as an array of bytes. |
[in] | len | Data length in bytes. |