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 #321 background imageLoading...
Page #321 background image
Creates an ASCII java.io.InputStream object with a specified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an AsciiStream object.
length
The length of the InputStream object that SQLJ interprets as an
AsciiStream object.
Related reference
“sqlj.runtime.BinaryStream class”
“sqlj.runtime.CharacterStream class” on page 306
“sqlj.runtime.StreamWrapper class” on page 314
“sqlj.runtime.UnicodeStream class” on page 316
sqlj.runtime.BinaryStream class
The sqlj.runtime.BinaryStream class is for an input stream of binary data with a
specified length.
The sqlj.runtime.BinaryStream class is derived from the java.io.InputStream class,
and extends the sqlj.runtime.StreamWrapper class. SQLJ interprets the bytes in an
sqlj.runtime.BinaryStream object are interpreted as Binary characters. An
InputStream object with Binary characters needs to be passed as a
sqlj.runtime.BinaryStream object.
Constructors
BinaryStream(InputStream)
Format:
public BinaryStream(java.io.InputStream input-stream)
Creates an Binary java.io.InputStream object with an unspecified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an BinaryStream object.
BinaryStream(InputStream, int)
Format:
public BinaryStream(java.io.InputStream input-stream, int length)
Creates an Binary java.io.InputStream object with a specified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an BinaryStream object.
length
The length of the InputStream object that SQLJ interprets as an
BinaryStream object.
Related reference
“sqlj.runtime.AsciiStream class” on page 304
“sqlj.runtime.CharacterStream class” on page 306
“sqlj.runtime.StreamWrapper class” on page 314
“sqlj.runtime.UnicodeStream class” on page 316
Chapter 7. JDBC and SQLJ reference information 305

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