Home
News
Projects
Art
Support
Development
Community
GNOME Documentation Library
Home
Users
Administrators
Developers
About
GNOME Data Access 4.0 manual
Part II. Client API reference
Table of Contents
HOWTO for common tasks
Open a connection
Define a data source (DSN)
Execute a SELECT command
Execute an INSERT, UPDATE or DELETE command
Get the last inserted row
Execute a DDL command
Get information about a table's columns
Validate a DML statement
Object Hierarchy
Initialization and configuration
Libgda initialization
— Library initialization
Configuration
— Access/Management of libgda configuration
Configuring
libgda
with environment variables
Connections & commands
Convenience functions
— Do quickly some actions
GdaConnection
— Management of connections to data sources
GdaSqlParser
— SQL parser
GdaStatement
— Single SQL statement
GdaBatch
— Multiple SQL statements goupped
GdaHolder
— Container for a single
GValue
GdaSet
— Container for several values
GdaSqlStatement
— Structure which decomposes an SQL statement
GdaConnectionEvent
— Any event which has occurred on a
GdaConnection
GdaTransactionStatus
— Keeps track of the transactional status of a connection
GdaXaTransaction
— Distributed transaction manager
Description of the data model returned by gda_connection_get_meta_store_data()
GDA_CONNECTION_META_NAMESPACES
GDA_CONNECTION_META_TYPES
GDA_CONNECTION_META_TABLES
GDA_CONNECTION_META_VIEWS
GDA_CONNECTION_META_FIELDS
Virtual connections
GdaVirtualProvider
— Base class for all virtual providers
GdaVproviderDataModel
— Virtual provider for connections based on a list of GdaDataModel
GdaVproviderHub
— Virtual provider for connections based on other connection
GdaVirtualConnection
— Base class for all virtual connection objects
GdaVconnectionDataModel
— Virtual connection based on a list of GdaDataModel
GdaVconnectionHub
— Virtual connection which bind together connections
Data handling
Gda Value
— Single value stored in a
GdaDataModel
Blobs
— Binary data and BLOBs handling
GdaDataModel
— Basic data model class
GdaDataModel columns
— Management of
GdaDataModel
column attributes
GdaDataModelIter
— Data model iterator
GdaDataModelImport
— Importing data from a string or a file
GdaDataAccessWrapper
— Offers a random access on top of a cursor-only access data model
GdaDataModelArray
— An implementation of
GdaDataModel
based on a
GArray
.
GdaDataModelBdb
— GdaDataModel to access Berkeley DB database contents
GdaDataModelDir
— GdaDataModel to list files in filesystem
GdaDataProxy
— Proxy to hold modifications for any
GdaDataModel
, and provides the
GdaDataModel
interface itself
GdaDataComparator
— Simple data model's contents comparison
GdaDataModelQuery
— An implementation of GdaDataModel based on a SELECT query
Data conversions
GdaDataHandler
— Interface which provides data handling capabilities
GdaHandlerString
— Default handler for strings
GdaHandlerBoolean
— Default handler for booleans
GdaHandlerTime
— Default handler for time, date and timestamp
GdaHandlerNumerical
— Default handler for numeric values
GdaHandlerBin
— Default handler for binary values
GdaHandlerType
— Default handler for GType values
Dictionary - metadata
Setup
Adding custom data
Database structure
Data types
SQL identifiers
Short and full names
Individual table description
GdaMetaStore
— Dictionary object
GdaMetaStruct
— In memory representation of some database objects
Data definition (DDL) queries
GdaServerOperation
— Handles any DDL query in an abstract way
Miscellaneous
Utility functions
Logging
— Log functions
Quark lists
— Quark lists (lists of KEY=VALUE's)
GdaDataModelRow
— Base implementation for other objects to implement the
GdaDataModel
interface based on the usage of
GdaThreader
The following sections describe the API available for
GDA
applications.