Class OutputBlob
Object
com.liferay.portal.kernel.dao.jdbc.OutputBlob
- All Implemented Interfaces:
Blob
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
free()
getBinaryStream
(long pos, long length) byte[]
getBytes
(long pos, int length) long
length()
long
position
(byte[] pattern, long start) long
setBinaryStream
(long pos) int
setBytes
(long pos, byte[] bytes) int
setBytes
(long pos, byte[] bytes, int offset, int length) void
truncate
(long length)
-
Constructor Details
-
OutputBlob
-
-
Method Details
-
free
- Specified by:
free
in interfaceBlob
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceBlob
- Throws:
SQLException
-
length
public long length() -
position
-
position
public long position(byte[] pattern, long start) -
setBinaryStream
- Specified by:
setBinaryStream
in interfaceBlob
-
setBytes
public int setBytes(long pos, byte[] bytes) -
setBytes
public int setBytes(long pos, byte[] bytes, int offset, int length) -
truncate
public void truncate(long length)
-