dataset_sql

Version 1.20 07jun05


Introduction

This package provides interfaces for SQL.

The dataset system is described at http://www.usatlas.bnl.gov/~dladams/dataset

Although, the components in this package were written to support the dataset system, they are generic and could have application in other realms.


Dependencies

Dependencies are described in the CMT requirements file.


Status

Version.
Change log.


Components

The components here are listed in dependency order. Each component depends only on those listed above it. The test associated with each component is a main program that returns zero if the component is working properly.

SqlRow (header, source, test) - - Describes a row in a table as a map of name-value pairs.

SqlQuery (header, source, test) - Holds an SQL query.

SelectQuery (header, source, test) - Holds an SQL Select query.

InsertQuery (header, source, test) - Holds an SQL Insert query.

DeleteQuery (header, source, test) - Holds an SQL Delete query.

SqlResult(header, source, test) - Holds the result of an SQL query.

SqlTable (header, source, test) - Interface for access to an SQL table.

SqlResultTable (header, source, test) - A concrete implementation of SqlTable that holds an instance of SqlResult. Used mainly for testing components in other packages in order to eliminate dependency on dataset_mysql or dataset_ami.


dladams@bnl.gov