|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.oda.consumer.helper.OdaObject
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriverObject
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaBlob
OdaBlob is the Oda wrapper for Blobs.
Method Summary | |
java.lang.Object |
findAndInvokeMethod(java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.Object[] args)
|
java.io.InputStream |
getBinaryStream()
Retrieves the BLOB value designated by this IBlob instance as a binary stream of uninterpreted bytes. |
byte[] |
getBytes(long position,
int length)
Retrieves all or part of the BLOB value designated by this IBlob instance as an array of bytes. |
long |
length()
Returns the number of bytes in the BLOB value designated by this IBlob object. |
static void |
setThrowAndSetOdaException()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.io.InputStream getBinaryStream() throws OdaException
IBlob
getBinaryStream
in interface IBlob
OdaException
- if data source error occurspublic byte[] getBytes(long position, int length) throws OdaException
IBlob
getBytes
in interface IBlob
position
- the 1-based ordinal position of the first byte
in the BLOB value to be extractedlength
- the number of consecutive bytes to be copied
length
consecutive bytes from the BLOB value,
starting with the byte at position
OdaException
- if data source error occurspublic long length() throws OdaException
IBlob
length
in interface IBlob
OdaException
- if data source error occurspublic static void setThrowAndSetOdaException()
public java.lang.Object findAndInvokeMethod(java.lang.String methodName, java.lang.Class[] parameterTypes, java.lang.Object[] args) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, OdaException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
OdaException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |