Class HarmonySerialClob
java.lang.Object
org.apache.derby.iapi.types.HarmonySerialClob
- All Implemented Interfaces:
Serializable, Cloneable, Clob
Copied from the Harmony project's implementation of javax.sql.rowset.serial.SerialClob
at subversion revision 946981.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHarmonySerialClob(char[] ch) HarmonySerialClob(String raw) HarmonySerialClob(Clob clob) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidfree()getCharacterStream(long pos, long length) getSubString(long pos, int length) longlength()private booleanmatch(char[] chars, int start, char[] pattern) longlongsetAsciiStream(long pos) setCharacterStream(long pos) intintvoidtruncate(long length)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
buf
private char[] buf -
clob
-
len
private long len -
origLen
private long origLen
-
-
Constructor Details
-
HarmonySerialClob
-
HarmonySerialClob
public HarmonySerialClob(char[] ch) -
HarmonySerialClob
- Throws:
SQLException
-
-
Method Details
-
length
- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getSubString
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
match
private boolean match(char[] chars, int start, char[] pattern) -
setAsciiStream
- Specified by:
setAsciiStreamin interfaceClob- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
truncate
- Specified by:
truncatein interfaceClob- Throws:
SQLException
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
checkValidation
- Throws:
SQLException
-