TIBCO ActiveSpaces®
Typedefs
types.h File Reference

ActiveSpaces client datatype definitions. More...

Typedefs

typedef struct __tibdgBatchResult * tibdgBatchResult
 A batch result allows a user retrieve the results of a batched operation or an error that occurred during the batch. More...
 
typedef struct __tibdgEventRec * tibdgEvent
 An event on a table. More...
 
typedef struct
__tibdgGridMetadataId * 
tibdgGridMetadata
 A grid metadata object contains grid configuration information. More...
 
typedef struct __tibdgIteratorId * tibdgIterator
 An iterator object supports selectively returning a set of matching rows. More...
 
typedef struct __tibdgResultSet * tibdgResultSet
 A resultset object supports selectively returning a set of matching rows. More...
 
typedef struct
__tibdgResultSetMetadataId * 
tibdgResultSetMetadata
 A resultset metadata object contains information about the result of a query. More...
 
typedef struct __tibdgRow * tibdgRow
 A row object contains columns. More...
 
typedef struct __tibdgSessionId * tibdgSession
 A session object provides the context for a thread of operations involving data grid resources. More...
 
typedef struct __tibdgStatement * tibdgStatement
 A statement object supports a SQL select query. More...
 
typedef struct __tibdgTableId * tibdgTable
 A table object contains rows. More...
 
typedef struct
__tibdgTableListenerId * 
tibdgTableListener
 A tablelistener allows a user to receive notifications of asynchronous events occuring on a table. More...
 
typedef struct
__tibdgTableMetadataId * 
tibdgTableMetadata
 A table metadata object contains table configuration information. More...
 

Detailed Description

ActiveSpaces client datatype definitions.

Typedef Documentation

typedef struct __tibdgBatchResult* tibdgBatchResult

A batch result allows a user retrieve the results of a batched operation or an error that occurred during the batch.

typedef struct __tibdgEventRec* tibdgEvent

An event on a table.

Depending on the type of event, it may have current and/or previous values.

When a new row that matches the listener's filter is added to the table, the type of the event will be TIBDG_EVENT_TYPE_PUT. The event will have a current value. When a row is updated either from a value that matches the filter or to a value that matches the filter, the type of the event will be TIBDG_EVENT_TYPE_PUT and the event will have both a current value and a previous value.

When a row that matches the listener's filter is deleted from the table, the type of the event will be TIBDG_EVENT_TYPE_DELETE. The event will have a previous value.

When an error occurs in the system that relates to the table, the type of the event will be TIBDG_EVENT_TYPE_ERROR. The event will have an error code and description.

typedef struct __tibdgGridMetadataId* tibdgGridMetadata

A grid metadata object contains grid configuration information.

A program that creates a grid metadata object must explicitly call tibdgGridMetadata_Destroy to reclaim its resources.

typedef struct __tibdgIteratorId* tibdgIterator

An iterator object supports selectively returning a set of matching rows.

A program that creates an iterator must explicitly call tibdgIterator_Close to reclaim its resources.

typedef struct __tibdgResultSet* tibdgResultSet

A resultset object supports selectively returning a set of matching rows.

A program that creates an resultset must explicitly call tibdgResultSet_Close to reclaim its resources.

typedef struct __tibdgResultSetMetadataId* tibdgResultSetMetadata

A resultset metadata object contains information about the result of a query.

typedef struct __tibdgRow* tibdgRow

A row object contains columns.

Row objects are not thread-safe. Programs must not access a row from several threads simultaneously.

A program that creates a row must explicitly call tibdgRow_Destroy to reclaim its resources.

typedef struct __tibdgSessionId* tibdgSession

A session object provides the context for a thread of operations involving data grid resources.

The session object is NOT thread-safe. Do not invoke multiple operations on a single session using more than one thread. Behavior is not defined if this happens.

A program that creates a session must explicitly call tibdgSession_Destroy to reclaim its resources.

typedef struct __tibdgStatement* tibdgStatement

A statement object supports a SQL select query.

A program that creates a statement object must explicitly call tibdgStatement_Close to reclaim its resources.

typedef struct __tibdgTableId* tibdgTable

A table object contains rows.

A program that creates a table must explicitly call tibdgTable_Close to reclaim its resources.

typedef struct __tibdgTableListenerId* tibdgTableListener

A tablelistener allows a user to receive notifications of asynchronous events occuring on a table.

typedef struct __tibdgTableMetadataId* tibdgTableMetadata

A table metadata object contains table configuration information.