TIBCO ActiveSpaces®
|
A resultsetmetadata object is used to obtain information about a query. More...
Functions | |
TIBDG_API tibint32_t | tibdgResultSetMetadata_GetColumnCount (tibEx e, tibdgResultSetMetadata resultSetMetadata) |
Get the number of columns to be expected in the result when the statement associated with this metadata is executed. More... | |
TIBDG_API const char * | tibdgResultSetMetadata_GetColumnLabel (tibEx e, tibdgResultSetMetadata resultSetMetadata, tibint32_t columnNumber) |
Get the column label associated with the specified column number. The column label is the alias specified by the SQL AS clause. If an AS clause has not been specified, the value returned will be the same as the value returned by the tibdgResultSetMetadata_GetColumnName method. More... | |
TIBDG_API const char * | tibdgResultSetMetadata_GetColumnName (tibEx e, tibdgResultSetMetadata resultSetMetadata, tibint32_t columnNumber) |
Get the column name associated with the specified column number. The column name is the original column name defined in the datagrid. If a column does not have a name, NULL is returned. More... | |
TIBDG_API const char * | tibdgResultSetMetadata_GetColumnTableName (tibEx e, tibdgResultSetMetadata resultSetMetadata, tibint32_t columnNumber) |
Get the name of the table associated with the specified column number. More... | |
TIBDG_API tibdgColumnType | tibdgResultSetMetadata_GetColumnType (tibEx e, tibdgResultSetMetadata resultSetMetadata, tibint32_t columnNumber) |
Get the type of the column associated with the specified column number. More... | |
TIBDG_API tibbool_t | tibdgResultSetMetadata_IsColumnNullable (tibEx e, tibdgResultSetMetadata resultSetMetadata, tibint32_t columnNumber) |
Returns whether or not the specified column number is nullable. More... | |
A resultsetmetadata object is used to obtain information about a query.
TIBDG_API tibint32_t tibdgResultSetMetadata_GetColumnCount | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata | ||
) |
Get the number of columns to be expected in the result
when the statement associated with this metadata is executed.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
TIBDG_API const char* tibdgResultSetMetadata_GetColumnLabel | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata, | ||
tibint32_t | columnNumber | ||
) |
Get the column label associated with the specified column number. The column
label is the alias specified by the SQL AS clause. If an AS clause has not
been specified, the value returned will be the same as the value returned
by the tibdgResultSetMetadata_GetColumnName method.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
columnNumber | Specifies the column number. Column numbers start with 1. |
TIBDG_API const char* tibdgResultSetMetadata_GetColumnName | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata, | ||
tibint32_t | columnNumber | ||
) |
Get the column name associated with the specified column number. The column name
is the original column name defined in the datagrid. If a column does not have a name,
NULL is returned.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
columnNumber | Specifies the column number. Column numbers start with 1. |
TIBDG_API const char* tibdgResultSetMetadata_GetColumnTableName | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata, | ||
tibint32_t | columnNumber | ||
) |
Get the name of the table associated with the specified column number.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
columnNumber | Specifies the column number. Column numbers start with 1. |
TIBDG_API tibdgColumnType tibdgResultSetMetadata_GetColumnType | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata, | ||
tibint32_t | columnNumber | ||
) |
Get the type of the column associated with the specified column number.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
columnNumber | Specifies the column number. Column numbers start with 1. |
TIBDG_API tibbool_t tibdgResultSetMetadata_IsColumnNullable | ( | tibEx | e, |
tibdgResultSetMetadata | resultSetMetadata, | ||
tibint32_t | columnNumber | ||
) |
Returns whether or not the specified column number is nullable.
e | The exception object captures information about failures. |
resultSetMetadata | The metadata returned when the associated statement was created. |
columnNumber | Specifies the column number. Column numbers start with 1. |