public class HarmonySerialClob
extends java.lang.Object
implements java.sql.Clob, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
private char[] |
buf |
private java.sql.Clob |
clob |
private long |
len |
private long |
origLen |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
HarmonySerialClob(char[] ch) |
HarmonySerialClob(java.sql.Clob clob) |
HarmonySerialClob(java.lang.String raw) |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkValidation() |
void |
free() |
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long pos,
long length) |
java.lang.String |
getSubString(long pos,
int length) |
long |
length() |
private boolean |
match(char[] chars,
int start,
char[] pattern) |
long |
position(java.sql.Clob searchClob,
long start) |
long |
position(java.lang.String searchString,
long start) |
java.io.OutputStream |
setAsciiStream(long pos) |
java.io.Writer |
setCharacterStream(long pos) |
int |
setString(long pos,
java.lang.String str) |
int |
setString(long pos,
java.lang.String str,
int offset,
int length) |
void |
truncate(long length) |
private static final long serialVersionUID
private char[] buf
private java.sql.Clob clob
private long len
private long origLen
public HarmonySerialClob(java.lang.String raw)
public HarmonySerialClob(char[] ch)
public HarmonySerialClob(java.sql.Clob clob)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long length()
throws java.sql.SQLException
length in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.lang.String getSubString(long pos,
int length)
throws java.sql.SQLException
getSubString in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.sql.Clob searchClob,
long start)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.lang.String searchString,
long start)
throws java.sql.SQLException,
java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionprivate boolean match(char[] chars,
int start,
char[] pattern)
public java.io.OutputStream setAsciiStream(long pos)
throws java.sql.SQLException
setAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Writer setCharacterStream(long pos)
throws java.sql.SQLException
setCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long pos,
java.lang.String str)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long pos,
java.lang.String str,
int offset,
int length)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic void truncate(long length)
throws java.sql.SQLException
truncate in interface java.sql.Clobjava.sql.SQLExceptionpublic void free()
throws java.sql.SQLException
free in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(long pos,
long length)
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionprivate void checkValidation()
throws java.sql.SQLException
java.sql.SQLExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.