#include <ilog/macros.h>
Classes | |
struct | IldBytes |
This structure is used to handle long binary data. More... | |
Declaration of various data types, constants, and so forth.
enum IldADTType |
This enumeration defines the typology of user-defined data types.
These types are also called abstract data types.
enum IldColumnType |
This enumeration defines the typology for data stored in a database.
This type takes care of the various data types that the relation columns in the various database management systems can store. DB Link uses the symbols in this enumeration whenever the data type of a column can be requested, whether in a table description, in a result set, or in a parameter set.
Each symbol in the enumeration is associated with a C++ data type, struct
, or class.
Symbol | C++ Type, struct, or Class |
IldByteType | IlUChar |
IldIntegerType | IlInt |
IldRealType | double |
IldMoneyType | double |
IldDateType | char* |
IldDateTimeType | IldDateTime |
IldNumericType | IlNumeric |
IldStringType | char* |
IldLongTextType | char* |
IldBinaryType | IldBytes |
IldObjectType | IldADTValue |
IldCollectionType | IldADTValue |
IldRefType | IldBytes |
IldCursorType | IldRequest |
IldCLOBType | char* |
IldBLOBType | IlUChar* |
IldDecfloatType | double |
In particular, IldDateType
is not different from IldDateTimeType
with respect to the database types they handle. That is, both symbols handle such database types as DATE
, TIME
, DATETIME
, TIMESTAMP
, INTERVAL
, and so on, depending on the RDBMS. However, IldDateType
and IldDateTimeType
differ semantically: IldDateType
is used to retrieve or send date or time data as strings, whereas IldDateTimeType
is used to retrieve or send date or time data as objects (as instances of the class IldDateTime
).
A value is said to be of IldUnknownType
if one of the following conditions is met:
enum IldEntityType |
The values of this enumeration distinguish the various schema entities that can be retrieved from the server.
DB Link defines a schema entity as an object that can exist on its own in the database. This definition eliminates the objects whose existence depends on other objects. Thus, table keys (primary or foreign), indexes, and arguments in procedures are not schema entities because they depend on tables or procedures.
enum IldErrorOrigin |
The values of this enumeration indicate where the error originates from.
enum IldFuncId |
This enumeration gives an identifier to each function of the DB Link API. It is used in error handling to identify the function in which the error occurred.
Enumerator | |
---|---|
ILD_D_START_TRANSACTION | |
ILD_D_COMMIT | |
ILD_D_ROLLBACK | |
ILD_D_AUTO_COMMIT_ON | |
ILD_D_AUTO_COMMIT_OFF | |
ILD_D_SET_TRANSACTION_READONLY | |
ILD_D_FREE_NAMES | |
ILD_D_GET_FREE_REQUEST | |
ILD_D_GET_NUM_ENTITIES | |
ILD_D_GET_RELATION | |
ILD_D_GET_PROCEDURE | |
ILD_D_GET_ADT | |
ILD_D_GET_SYNONYM | |
ILD_D_GET_NUMBER_OF_ACTIVE_CONN | |
ILD_D_GET_NAME | |
ILD_D_GET_USER | |
ILD_D_GET_DBMS_VERSIONS | |
ILD_D_GET_DBMS_VERSION | |
ILD_D_GET_DATABASE | |
ILD_D_GET_DBMS_SERVER | |
ILD_D_CONNECT | |
ILD_D_DISCONNECT | |
ILD_D_IS_CONNECTED | |
ILD_D_IS_TRANSACTION_ENABLED | |
ILD_D_GET_HOOK | |
ILD_D_SET_HOOK | |
ILD_D_READ_OWNERS | |
ILD_D_READ_ENTITY_NAMES | |
ILD_D_READ_TABLE_PRIVILEGES | |
ILD_D_READ_RELATION_NAMES | |
ILD_D_READ_RELATION_OWNERS | |
ILD_D_READ_PROCEDURE_NAMES | |
ILD_D_READ_ABSTRACT_TYPE_NAMES | |
ILD_D_READ_SYNONYM_NAMES | |
ILD_D_DBMS |
|
ILD_D_TILDE_DBMS | |
ILD_D_EXECUTE | |
ILD_D_GET_INFO | |
ILD_D_SET_REPORTER | |
ILD_D_GET_TYPE_INFO | |
ILD_D_FREE_TYPE_INFO | |
ILD_D_READ_PKEY | |
ILD_D_READ_FKEYS | |
ILD_D_READ_INDEXES | |
ILD_D_READ_SCOLS | |
ILD_D_SET_TIMEOUT | |
ILD_D_SET_ASYNC | |
ILD_D_SET_ERROR_REP |
|
ILD_D_CANCEL | |
ILD_D_REMOVE_ENTITY | |
ILD_D_SUBSCRIBE_EVENT | |
ILD_D_UNSUBSCRIBE_EVENT | |
ILD_D_GET_ERROR_REPORTER | |
ILD_D_IS_COMPLETED | |
ILD_R_REQUEST |
|
ILD_R_TILDE_REQUEST | |
ILD_R_RELEASE | |
ILD_R_SET_COL_ARRAY_SIZE | |
ILD_R_REMOVE_COL_ARRAY_SIZE | |
ILD_R_SET_COL_POS |
|
ILD_R_SET_PARAM_ARRAY_SIZE | |
ILD_R_REMOVE_PARAM_ARRAY_SIZE | |
ILD_R_GET_COL_DESC | |
ILD_R_GET_COL_INDEX | |
ILD_R_GET_COL_SIZE | |
ILD_R_GET_COL_NAME | |
ILD_R_GET_PARAM_DESC | |
ILD_R_GET_PARAM_INDEX | |
ILD_R_GET_PARAM_NAME | |
ILD_R_GET_PARAM_TYPE | |
ILD_R_GET_PARAM_SQLTYPE | |
ILD_R_GET_PARAM_SQLTYPE_NAME | |
ILD_R_GET_PARAM_SIZE | |
ILD_R_GET_PARAM_BUFFER_SIZE | |
ILD_R_BIND_COL | |
ILD_R_BIND_PARAM | |
ILD_R_EXECUTE | |
ILD_R_FETCH | |
ILD_R_INSERT_LONGTEXT | |
ILD_R_INSERT_BINARY | |
ILD_R_IS_COL_NULL | |
ILD_R_GET_COL_ADT | |
ILD_R_GET_COL_BINARY | |
ILD_R_GET_COL_BYTE | |
ILD_R_GET_COL_DATE | |
ILD_R_GET_COL_DATETIME | |
ILD_R_GET_COL_INTEGER | |
ILD_R_GET_COL_LONGTEXT | |
ILD_R_GET_COL_MONEY | |
ILD_R_GET_COL_NUMERIC | |
ILD_R_GET_COL_REAL | |
ILD_R_GET_COL_REF | |
ILD_R_GET_COL_STRING | |
ILD_R_PARSE | |
ILD_R_SET_PARAM_VALUE | |
ILD_R_SET_PARAM_NULL | |
ILD_R_IS_PARAM_NULL | |
ILD_R_GET_PARAM_ADT | |
ILD_R_GET_PARAM_BINARY | |
ILD_R_GET_PARAM_BYTE | |
ILD_R_GET_PARAM_CURSOR | |
ILD_R_GET_PARAM_DATE | |
ILD_R_GET_PARAM_DATETIME | |
ILD_R_GET_PARAM_INTEGER | |
ILD_R_GET_PARAM_LONGTEXT | |
ILD_R_GET_PARAM_MONEY | |
ILD_R_GET_PARAM_NUMERIC | |
ILD_R_GET_PARAM_REAL | |
ILD_R_GET_PARAM_REF | |
ILD_R_GET_PARAM_STRING | |
ILD_R_IS_NULL_INDICATOR_ON | |
ILD_R_HAS_TUPLE | |
ILD_R_GET_STATUS | |
ILD_R_GET_HOOK | |
ILD_R_GET_LARGE_OBJECT | |
ILD_R_CLOSE_CURSOR | |
ILD_R_SET_REPORTER | |
ILD_R_SET_CURSOR_NAME | |
ILD_R_SET_READONLY | |
ILD_R_SET_CURSOR_MODE_ON | |
ILD_R_SET_SCROLLABLE | |
ILD_R_FETCH_SCROLL | |
ILD_R_GET_ERROR_REPORTER | |
ILD_R_IS_COMPLETED |
enum IldKeyType |
The values of this enumeration indicate the type of the IldKey
objects.
Enumerator | |
---|---|
IldPrimaryKey | It is a primary key. |
IldForeignKey | It is a foreign key. |
IldIndexKey | It is an index. |
IldSpecialColumn | It is a special column. |