org.eclipse.emf.oda.ecore.impl
Class ResultSet.Blob
java.lang.Object
org.eclipse.emf.oda.ecore.impl.ResultSet.Blob
- All Implemented Interfaces:
- org.eclipse.datatools.connectivity.oda.IBlob
- Enclosing class:
- ResultSet
protected static class ResultSet.Blob
- extends java.lang.Object
- implements org.eclipse.datatools.connectivity.oda.IBlob
An implementation of IBlog for byte arrays.
Field Summary |
protected byte[] |
data
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected final byte[] data
ResultSet.Blob
protected ResultSet.Blob(byte[] data)
getBinaryStream
public java.io.InputStream getBinaryStream()
throws org.eclipse.datatools.connectivity.oda.OdaException
- Specified by:
getBinaryStream
in interface org.eclipse.datatools.connectivity.oda.IBlob
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException
getBytes
public byte[] getBytes(long position,
int length)
throws org.eclipse.datatools.connectivity.oda.OdaException
- Specified by:
getBytes
in interface org.eclipse.datatools.connectivity.oda.IBlob
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException
length
public long length()
throws org.eclipse.datatools.connectivity.oda.OdaException
- Specified by:
length
in interface org.eclipse.datatools.connectivity.oda.IBlob
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException