Package com.firebolt.jdbc.type.lob
Class FireboltBlob
java.lang.Object
com.firebolt.jdbc.type.lob.FireboltBlob
- All Implemented Interfaces:
Blob
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfree()getBinaryStream(long pos, long length) byte[]getBytes(long pos, int length) inthashCode()protected voidlonglength()longposition(byte[] pattern, long start) longsetBinaryStream(long pos) intsetBytes(long pos, byte[] bytes) intsetBytes(long pos, byte[] bytes, int offset, int len) protected intsetData(long pos, byte[] data, int offset, int len) protected OutputStreamvoidtruncate(long length) protected voidvalidateGetRange(long pos, int length, int bufferLength) protected voidvalidateSetRange(long pos, int fragmentLength, int offset, int len)
-
Field Details
-
buf
protected byte[] buf
-
-
Constructor Details
-
FireboltBlob
public FireboltBlob() -
FireboltBlob
public FireboltBlob(byte[] buf)
-
-
Method Details
-
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
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Throws:
SQLException
-
equals
-
hashCode
public int hashCode() -
validateGetRange
- Throws:
SQLException
-
isValid
- Throws:
SQLException
-
validateSetRange
protected void validateSetRange(long pos, int fragmentLength, int offset, int len) throws SQLException - Throws:
SQLException
-
length
- Throws:
SQLException
-
setData
- Throws:
SQLException
-
free
- Throws:
SQLException
-
setStream
- Throws:
SQLException
-