Package com.j_spaces.jdbc.driver
Class Clob
java.lang.Object
com.j_spaces.jdbc.driver.ObjectWithUID
com.j_spaces.jdbc.driver.Clob
- All Implemented Interfaces:
Serializable,Comparable,Clob
The java.sql.Clob implementation.
- Author:
- Michael Mitrani, 2Train4, 2004
- See Also:
-
Field Summary
FieldsFields inherited from class com.j_spaces.jdbc.driver.ObjectWithUID
entryUID, objectIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidfree()getCharacterStream(long pos, long length) getSubString(long pos, int length) inthashCode()longlength()longlongsetAsciiStream(long pos) setCharacterStream(long pos) voidsetConnection(Connection conn) intinttoString()voidtruncate(long len) Methods inherited from class com.j_spaces.jdbc.driver.ObjectWithUID
getEntryUID, getObjectIndex, setEntryUID, setObjectIndex
-
Field Details
-
clob
-
conn
-
-
Constructor Details
-
Clob
- Throws:
SQLException
-
Clob
-
-
Method Details
-
getClobData
-
length
- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
truncate
- Specified by:
truncatein interfaceClob- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceClob- Throws:
SQLException
-
getCharacterOutputStream
- Throws:
SQLException
-
getSubString
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable- Throws:
ClassCastException
-
toString
-
setConnection
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-