Class OrientBlob
java.lang.Object
com.orientechnologies.orient.jdbc.OrientBlob
- All Implemented Interfaces:
Blob
- Author:
- Roberto Franchini (CELI Srl - franchini@celi.it), Salvatore Piccione (TXT e-solutions SpA - salvo.picci@gmail.com)
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOrientBlob(OBlob binaryDataChunk) protectedOrientBlob(List<OBlob> binaryDataChunks) -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()getBinaryStream(long pos, long length) byte[]getBytes(long pos, int length) 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
-
OrientBlob
- Throws:
IllegalArgumentException
-
OrientBlob
- Throws:
IllegalArgumentException
-
-
Method Details
-
length
- Specified by:
lengthin interfaceBlob- Throws:
SQLException
-
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
-
free
- Specified by:
freein interfaceBlob- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceBlob- Throws:
SQLException
-