sqlj.runtime
Class BinaryStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
sqlj.runtime.StreamWrapper
sqlj.runtime.BinaryStream
- All Implemented Interfaces:
- Closeable
public class BinaryStream
- extends StreamWrapper
BinaryStream is a class derived from java.io.InputStream. The octets comprising a
BinaryStream object are not interpreted as characters. In order to process an InputStream
object as an input argument to an executable SQL operation, an SQLJ implementation has to know both its length and
the way to interpret its octets.
Note: A BinaryStream object can only be used once as an in parameter of a SQL operation, because
the operation will consume the stream.
- See Also:
CharacterStream
|
Constructor Summary |
BinaryStream(InputStream in)
Creates a new BinaryStream object using the given InputStream object in. |
BinaryStream(InputStream in,
int length)
Creates a new BinaryStream object using the given InputStream object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryStream
public BinaryStream(InputStream in)
- Creates a new
BinaryStream object using the given InputStream object in. The length of
the BinaryStream object is uninitialized and must be set with set the
setLength method before use of a BinaryStream object as an IN
(or INOUT) parameter in an invocation of an SQL operation.
- Parameters:
in - the InputStream to interpret as a BinaryStream.
BinaryStream
public BinaryStream(InputStream in,
int length)
- Creates a new BinaryStream object using the given InputStream object. The length of the BinaryStream object is
initialized to the value length.
- Parameters:
in - the InputStream to interpret as an BinaryStream.length - the length in bytes of the BinaryStream
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/opensql/api
|
api
|
BC-JAS
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.libdeprecated
|
default
|
BC-JAS
|
[sap.com] ENGINEAPI
|
[sap.com] opensqldeprecated
|
default
|
BC-JAS-PER-SQL
|
Copyright 2012 SAP AG Complete Copyright Notice