Top Description Methods
org.hibernate.engine.jdbc

public Interface BinaryStream

Known Direct Implementers
org.hibernate.engine.jdbc.BlobProxy.StreamBackedBinaryStream, org.hibernate.engine.jdbc.internal.BinaryStreamImpl
Imports
java.io.InputStream

Wraps a binary stream to also provide the length which is needed when binding.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

The bytes.
getBytes
()

Access to the bytes.

public InputStream

Returns:

The input stream
getInputStream
()

Retrieve the input stream.

public long

Returns:

The input stream length
getLength
()

Retrieve the length of the input stream

public void
release()

Release any underlying resources.

Method Detail

getBytesback to summary
public byte[] getBytes()

Access to the bytes.

Returns:byte[]

The bytes.

getInputStreamback to summary
public InputStream getInputStream()

Retrieve the input stream.

Returns:InputStream

The input stream

getLengthback to summary
public long getLength()

Retrieve the length of the input stream

Returns:long

The input stream length

releaseback to summary
public void release()

Release any underlying resources.