Bulk-Library

Bulk-Library/C provides routines that allow Client-Library and Server-Library applications to use Adaptive Server’s bulk copy interface for high-speed data transfer. Client-Library programmers do not need to know Bulk-Library unless they want their applications to transfer data with the bulk copy interface. Bulk-Library, Client-Library, and Server-Library share common type definitions for data exchanged between client and server.

Bulk copy of encrypted columns is supported if Adaptive Server supports encrypted columns.

DB-Library has its own bulk copy interface and cannot be used with Bulk-Library.

The following diagram illustrates the relationship between the libraries included with Open Client and Open Server:

Figure 1-1: Open Client and Open Server library relationships

This figure first describes the structure of Open Client Open Server libraries. Client Library is part of Open Client, and Server Library is part of Open Server. The Client Server Library, also called the C S Library, is shared between Open Client and Open Server. The figure then describes which of the libraries applications can access. Client applications can access Client Library and C S Library. Server applications can access Server Library and C S Library. Gateway applications can access all libraries.

As an example, a client application might include calls to Client-Library and CS-Library, while an application that acts as both client and server might include calls to Client-Library, CS-Library, and Server-Library.

Although DB-Library is a completely separate interface from Client-Library, CS-Library, and Bulk-Library, it can be used in an Open Server gateway. It does not share Client-Library’s advantages of sharing common data structures and type definitions with Server-Library.