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 TypeMethodDescriptionboolean
void
free()
getBinaryStream
(long pos, long length) byte[]
getBytes
(long pos, int length) int
hashCode()
protected void
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) protected int
setData
(long pos, byte[] data, int offset, int len) protected OutputStream
void
truncate
(long length) protected void
validateGetRange
(long pos, int length, int bufferLength) protected void
validateSetRange
(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:
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
-
getBinaryStream
- Specified by:
getBinaryStream
in 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
-