java.lang.Object
com.aoapps.sql.wrapper.BlobWrapperImpl
- All Implemented Interfaces:
BlobWrapper
,Wrapper
,AutoCloseable
,Blob
,Wrapper
Wraps a
Blob
.- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBinaryStream
(long pos, long length) protected ConnectionWrapperImpl
Gets the connection wrapper.Gets the blob that is wrapped.long
setBinaryStream
(long pos) toString()
protected Blob
unwrapBlob
(Blob blob) Unwraps aBlob
, if wrapped by this wrapper.protected InputStreamWrapper
Wraps anInputStream
, if not already wrapped by this wrapper.protected OutputStreamWrapper
Wraps anOutputStream
, if not already wrapped by this wrapper.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, free, getBytes, length, position, setBytes, setBytes, truncate
Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
BlobWrapperImpl
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getWrapped
Description copied from interface:BlobWrapper
Gets the blob that is wrapped.- Specified by:
getWrapped
in interfaceBlobWrapper
- Specified by:
getWrapped
in interfaceWrapper
-
toString
-
unwrapBlob
Unwraps aBlob
, if wrapped by this wrapper.- See Also:
-
wrapInputStream
Wraps anInputStream
, if not already wrapped by this wrapper.- See Also:
-
wrapOutputStream
Wraps anOutputStream
, if not already wrapped by this wrapper.- See Also:
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Specified by:
getBinaryStream
in interfaceBlobWrapper
- Throws:
SQLException
- See Also:
-
position
- Specified by:
position
in interfaceBlob
- Specified by:
position
in interfaceBlobWrapper
- Throws:
SQLException
- See Also:
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceBlob
- Specified by:
setBinaryStream
in interfaceBlobWrapper
- Throws:
SQLException
- See Also:
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceBlob
- Specified by:
getBinaryStream
in interfaceBlobWrapper
- Throws:
SQLException
- See Also:
-