Package org.hibernate.engine.jdbc
Interface BinaryStream
-
public interface BinaryStreamWraps a binary stream to also provide the length which is needed when binding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getBytes()Access to the bytes.InputStreamgetInputStream()Retrieve the input stream.longgetLength()Retrieve the length of the input streamvoidrelease()Release any underlying resources.
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream()
Retrieve the input stream.- Returns:
- The input stream
-
getBytes
byte[] getBytes()
Access to the bytes.- Returns:
- The bytes.
-
getLength
long getLength()
Retrieve the length of the input stream- Returns:
- The input stream length
-
release
void release()
Release any underlying resources.
-
-