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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBinaryStream(long pos, long length) protected ConnectionWrapperImplGets the connection wrapper.Gets the blob that is wrapped.longsetBinaryStream(long pos) toString()protected BlobunwrapBlob(Blob blob) Unwraps aBlob, if wrapped by this wrapper.protected InputStreamWrapperWraps anInputStream, if not already wrapped by this wrapper.protected OutputStreamWrapperWraps anOutputStream, if not already wrapped by this wrapper.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.sql.wrapper.BlobWrapper
close, free, getBytes, length, position, setBytes, setBytes, truncateMethods 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:BlobWrapperGets the blob that is wrapped.- Specified by:
getWrappedin interfaceBlobWrapper- Specified by:
getWrappedin 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:
getBinaryStreamin interfaceBlob- Specified by:
getBinaryStreamin interfaceBlobWrapper- Throws:
SQLException- See Also:
-
position
- Specified by:
positionin interfaceBlob- Specified by:
positionin interfaceBlobWrapper- Throws:
SQLException- See Also:
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceBlob- Specified by:
setBinaryStreamin interfaceBlobWrapper- Throws:
SQLException- See Also:
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Specified by:
getBinaryStreamin interfaceBlobWrapper- Throws:
SQLException- See Also:
-
