Top Description Fields Constructors Methods
org.apache.derby.impl.jdbc

pack-priv Class BinaryToRawStream

extends FilterInputStream
Class Inheritance
Known Direct Subclasses
org.apache.derby.impl.jdbc.AutoPositioningStream
Imports
org.apache.derby.shared.common.sanity.SanityManager, java.io.InputStream, .IOException, .EOFException

Converts a stream containing the Derby stored binary form to one that just contains the application's data. Simply read and save the length information.

Field Summary

Modifier and TypeField and Description
private int
length

Length of the value represented by this stream.

private Object
Inherited from java.io.FilterInputStream:
in

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
getLength()

Return the length of the value in thie stream in bytes.

Inherited from java.io.FilterInputStream:
availableclosemarkmarkSupportedreadreadreadresetskip

Field Detail

lengthback to summary
private int length

Length of the value represented by this stream. Set to -1 if the length is unknown.

parentback to summary
private Object parent

Constructor Detail

BinaryToRawStreamback to summary
pack-priv BinaryToRawStream(InputStream in, Object parent) throws IOException

Method Detail

getLengthback to summary
pack-priv int getLength()

Return the length of the value in thie stream in bytes. If the value is unknown then -1 is returned.