- All Superinterfaces:
AutoCloseable,Blob,Wrapper,Wrapper
- All Known Implementing Classes:
BlobWrapperImpl
Wraps a
Blob.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()Callsfree().default voidfree()getBinaryStream(long pos, long length) default byte[]getBytes(long pos, int length) Gets the blob that is wrapped.default longlength()default longposition(byte[] pattern, long start) longsetBinaryStream(long pos) default intsetBytes(long pos, byte[] bytes) default intsetBytes(long pos, byte[] bytes, int offset, int len) default voidtruncate(long len) Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getWrapped
Blob getWrapped()Gets the blob that is wrapped.- Specified by:
getWrappedin interfaceWrapper
-
close
Callsfree().- Specified by:
closein interfaceAutoCloseable- Throws:
SQLException- See Also:
-
length
- Specified by:
lengthin interfaceBlob- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceBlob- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceBlob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceBlob- Throws:
SQLException
-
setBytes
- Specified by:
setBytesin interfaceBlob- Throws:
SQLException
-
setBytes
- Specified by:
setBytesin interfaceBlob- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceBlob- Throws:
SQLException
-
truncate
- Specified by:
truncatein interfaceBlob- Throws:
SQLException
-
free
- Specified by:
freein interfaceBlob- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Throws:
SQLException
-
