SQL/MX Programming Manual for Java
SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java—523726-003
B-10
sqlj.runtime.AsciiStream Class
sqlj.runtime.AsciiStream Class
An InputStream-derived class that represents an input stream of bytes. The bytes of 
an AsciiStream object are interpreted as ASCII characters. 
To pass an InputStream object as an input parameter (host variable or expression) 
to an SQL statement, you must provide the SQLJ run time with the length of the 
InputStream and how to interpret its bytes. Therefore, SQL operations in an SQLJ 
application accept instances of the AsciiStream or CharacterStream class 
instead of direct references to InputStream objects.
See Also
•
sqlj.runtime.CharacterStream Class on page B-16
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----sqlj.runtime.StreamWrapper
|
+----sqlj.runtime.AsciiStream
public class AsciiStream 
extends StreamWrapper
Table B-5. AsciiStream Constructors Summary
Constructor Description
AsciiStream(InputStream)
Creates an ASCII-valued InputStream 
object with an uninitialized length.
AsciiStream(InputStream, int)
Creates an ASCII-valued InputStream 
object of a specified length.










