Package org.apache.derby.iapi.types
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 void
void
free()
getCharacterStream
(long pos, long length) getSubString
(long pos, int length) long
length()
private boolean
match
(char[] chars, int start, char[] pattern) long
long
setAsciiStream
(long pos) setCharacterStream
(long pos) int
int
void
truncate
(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:
length
in interfaceClob
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
getSubString
- Specified by:
getSubString
in interfaceClob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
match
private boolean match(char[] chars, int start, char[] pattern) -
setAsciiStream
- Specified by:
setAsciiStream
in interfaceClob
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
truncate
- Specified by:
truncate
in interfaceClob
- Throws:
SQLException
-
free
- Specified by:
free
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
checkValidation
- Throws:
SQLException
-