org.eclipse.emf.oda.ecore.impl
Class ResultSet.Clob

java.lang.Object
  extended by org.eclipse.emf.oda.ecore.impl.ResultSet.Clob
All Implemented Interfaces:
org.eclipse.datatools.connectivity.oda.IClob
Enclosing class:
ResultSet

protected static class ResultSet.Clob
extends java.lang.Object
implements org.eclipse.datatools.connectivity.oda.IClob

An implementation of IClob for strings.


Field Summary
protected  java.lang.String data
           
 
Constructor Summary
protected ResultSet.Clob(java.lang.String data)
           
 
Method Summary
 java.io.Reader getCharacterStream()
           
 java.lang.String getSubString(long position, int length)
           
 long length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected final java.lang.String data
Constructor Detail

ResultSet.Clob

protected ResultSet.Clob(java.lang.String data)
Method Detail

getCharacterStream

public java.io.Reader getCharacterStream()
                                  throws org.eclipse.datatools.connectivity.oda.OdaException
Specified by:
getCharacterStream in interface org.eclipse.datatools.connectivity.oda.IClob
Throws:
org.eclipse.datatools.connectivity.oda.OdaException

getSubString

public java.lang.String getSubString(long position,
                                     int length)
                              throws org.eclipse.datatools.connectivity.oda.OdaException
Specified by:
getSubString in interface org.eclipse.datatools.connectivity.oda.IClob
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.IClob
Throws:
org.eclipse.datatools.connectivity.oda.OdaException

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.