Working with Blob Data
Go Up to API Guide
This chapter describes InterBase dynamically sizable data type, called a Blob, and describes how to work with it using API functions. Depending on a particular application, you might need to read all or only part of the chapter.
For example, if you plan to request conversion of Blob data from one data type to another, such as from one bit-mapped graphic format to another or from the MIDI sound format to the Wave format, you need to read the entire chapter. To write a conversion routine, called a filter, see Filtering Blob Data. For further information about working with Blob data and filters, see the Embedded SQL Guide.
If you do not need to request conversion of Blob data, then you only need to read the parts of this chapter up to Filtering Blob Data.
The following table alphabetically lists the API functions for working with Blob data. The functions will be described and demonstrated in the remainder of this chapter.
Function | Purpose |
---|---|
|
Loads a Blob descriptor with default information about a Blob, including its subtype, character set, and segment size. |
|
Generates a Blob parameter buffer (BPB) from source and target Blob descriptors to allow dynamic access to Blob subtype and character set information. |
|
Returns information about an open Blob. |
|
Determines the subtype, character set, and segment size of a Blob, given a table name and Blob column name. |
|
Initializes a Blob descriptor from parameters passed to it. |
|
Discards a Blob. |
|
Closes an open Blob. |
|
Creates and opens a Blob for write access, and optionally specifies a filter to be used to translate the Blob from one subtype to another. |
|
Retrieves data from a Blob column in a row returned by execution of a |
|
Opens an existing Blob for retrieval, and optionally specifies a filter to be used to translate the Blob from one subtype to another. |
|
Writes data into a Blob. |
Topics
- What is a Blob?
- Blob Descriptors
- Populating a Blob Descriptor
- Blob Data Operations
- Requesting Information About an Open Blob
- Filtering Blob Data