Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.4.8 Blob interface

Organization of this subsection
(1) Overview
(2) Methods
(3) Package and class names

(1) Overview

The Blob interface provides the following principal functions:

The JDBC driver uses the PrdbBlob class to install the Blob interface.

The JDBC driver generates PrdbBlob class objects as return values of the getBlock method of ResultSet.

(2) Methods

Table 17-21 lists the methods of the Blob interface. The interface does not support methods that are not listed in the table. If an unsupported method is specified, the interface throws an SQLException.

Table 17-21 Blob interface methods

Method Remarks
getBinaryStream() --
getBytes(long pos, int length) --
length() --
position(Blob pattern, long start) --
position(byte[] pattern, long start) --

Legend:
--: None.

(3) Package and class names

The names of the package and class for installing this interface are as follows:

Package name: JP.co.Hitachi.soft.HiRDB.JDBC

Class name: PrdbBlob