java.lang.Object
com.aoapps.sql.wrapper.BlobWrapperImpl
com.aoapps.sql.failfast.FailFastBlobImpl
- All Implemented Interfaces:
BlobWrapper
,Wrapper
,AutoCloseable
,Blob
,Wrapper
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
free()
getBinaryStream
(long pos, long length) byte[]
getBytes
(long pos, int length) protected FailFastConnectionImpl
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 len) void
truncate
(long len) Methods inherited from class com.aoapps.sql.wrapper.BlobWrapperImpl
getWrapped, toString, unwrapBlob, wrapInputStream, wrapOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.sql.wrapper.BlobWrapper
close
Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
FailFastBlobImpl
-
-
Method Details
-
getConnectionWrapper
- Overrides:
getConnectionWrapper
in classBlobWrapperImpl
-
length
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Specified by:
getBinaryStream
in interfaceBlobWrapper
- Overrides:
getBinaryStream
in classBlobWrapperImpl
- Throws:
SQLException
-
position
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceBlob
- Specified by:
position
in interfaceBlobWrapper
- Overrides:
position
in classBlobWrapperImpl
- Throws:
SQLException
-
setBytes
- Throws:
SQLException
-
setBytes
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceBlob
- Specified by:
setBinaryStream
in interfaceBlobWrapper
- Overrides:
setBinaryStream
in classBlobWrapperImpl
- Throws:
SQLException
-
truncate
- Throws:
SQLException
-
free
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Specified by:
getBinaryStream
in interfaceBlobWrapper
- Overrides:
getBinaryStream
in classBlobWrapperImpl
- Throws:
SQLException
-