- All Superinterfaces:
AutoCloseable
,Blob
,Wrapper
,Wrapper
- All Known Implementing Classes:
BlobWrapperImpl
Wraps a
Blob
.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
Callsfree()
.default void
free()
getBinaryStream
(long pos, long length) default byte[]
getBytes
(long pos, int length) Gets the blob that is wrapped.default long
length()
default long
position
(byte[] pattern, long start) long
setBinaryStream
(long pos) default int
setBytes
(long pos, byte[] bytes) default int
setBytes
(long pos, byte[] bytes, int offset, int len) default void
truncate
(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:
getWrapped
in interfaceWrapper
-
close
Callsfree()
.- Specified by:
close
in interfaceAutoCloseable
- Throws:
SQLException
- See Also:
-
length
- Specified by:
length
in interfaceBlob
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceBlob
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceBlob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceBlob
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfaceBlob
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfaceBlob
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceBlob
- Throws:
SQLException
-
truncate
- Specified by:
truncate
in interfaceBlob
- Throws:
SQLException
-
free
- Specified by:
free
in interfaceBlob
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Throws:
SQLException
-