EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #332 background imageLoading...
Page #332 background image
“sqlj.runtime.AsciiStream class” on page 304
“sqlj.runtime.BinaryStream class” on page 305
“sqlj.runtime.CharacterStream class” on page 306
“sqlj.runtime.UnicodeStream class”
sqlj.runtime.UnicodeStream class
The sqlj.runtime.UnicodeStream class is for an input stream of Unicode data with
a specified length.
The sqlj.runtime.UnicodeStream class is derived from the java.io.InputStream
class, and extends the sqlj.runtime.StreamWrapper class. SQLJ interprets the bytes
in an sqlj.runtime.UnicodeStream object as Unicode characters. An InputStream
object with Unicode characters needs to be passed as a
sqlj.runtime.UnicodeStream object.
Constructors
UnicodeStream(InputStream)
Format:
public UnicodeStream(java.io.InputStream input-stream)
Creates a Unicode java.io.InputStream object with an unspecified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an UnicodeStream object.
UnicodeStream(InputStream, int)
Format:
public UnicodeStream(java.io.InputStream input-stream, int length)
Creates a Unicode java.io.InputStream object with a specified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an UnicodeStream object.
length
The length of the InputStream object that SQLJ interprets as an
UnicodeStream object.
Related reference
“sqlj.runtime.AsciiStream class” on page 304
“sqlj.runtime.BinaryStream class” on page 305
“sqlj.runtime.CharacterStream class” on page 306
“sqlj.runtime.StreamWrapper class” on page 314
IBM Data Server Driver for JDBC and SQLJ extensions to JDBC
The IBM Data Server Driver for JDBC and SQLJ provides a set of extensions to the
support that is provided by the JDBC specification.
To use IBM Data Server Driver for JDBC and SQLJ-only methods in classes that
have corresponding, standard classes, cast an instance of the related, standard
JDBC class to an instance of the IBM Data Server Driver for JDBC and SQLJ-only
class. For example:
316 Application Programming Guide and Reference for Java

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability