Package com.aerospike.jdbc.sql.type
Class ByteArrayBlob
java.lang.Object
com.aerospike.jdbc.sql.type.ByteArrayBlob
- All Implemented Interfaces:
Blob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfree()getBinaryStream(long pos, long length) byte[]getBytes(long pos, int length) inthashCode()longlength()longposition(byte[] pattern, long start) longsetBinaryStream(long pos) intsetBytes(long pos, byte[] bytes) intsetBytes(long pos, byte[] bytes, int offset, int len) voidtruncate(long len)
-
Constructor Details
-
ByteArrayBlob
public ByteArrayBlob() -
ByteArrayBlob
public ByteArrayBlob(byte[] data)
-
-
Method Details
-
length
public long length() -
getBytes
- Specified by:
getBytesin interfaceBlob- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob
-
position
public long position(byte[] pattern, long start) -
position
-
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
-
free
public void free() -
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Throws:
SQLException
-
equals
-
hashCode
public int hashCode()
-