public static final class JDBCDriverTest.MyClob
extends java.lang.Object
implements java.sql.Clob
A crude Clob implementation for datatype testing.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_contents |
Constructor and Description |
---|
JDBCDriverTest.MyClob(java.lang.String contents) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.lang.String |
getSubString(long position,
int length) |
long |
length() |
long |
position(java.sql.Clob searchstr,
long start) |
long |
position(java.lang.String searchstr,
long start) |
java.io.OutputStream |
setAsciiStream(long arg0) |
java.io.Writer |
setCharacterStream(long arg0) |
int |
setString(long arg0,
java.lang.String arg1) |
int |
setString(long arg0,
java.lang.String arg1,
int arg2,
int arg3) |
void |
truncate(long arg0) |
public java.io.InputStream getAsciiStream()
getAsciiStream
in interface java.sql.Clob
public java.io.Reader getCharacterStream()
getCharacterStream
in interface java.sql.Clob
public java.lang.String getSubString(long position, int length)
getSubString
in interface java.sql.Clob
public long length()
length
in interface java.sql.Clob
public long position(java.sql.Clob searchstr, long start)
position
in interface java.sql.Clob
public long position(java.lang.String searchstr, long start)
position
in interface java.sql.Clob
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int setString(long arg0, java.lang.String arg1) throws java.sql.SQLException
setString
in interface java.sql.Clob
java.sql.SQLException
public int setString(long arg0, java.lang.String arg1, int arg2, int arg3) throws java.sql.SQLException
setString
in interface java.sql.Clob
java.sql.SQLException
public java.io.OutputStream setAsciiStream(long arg0) throws java.sql.SQLException
setAsciiStream
in interface java.sql.Clob
java.sql.SQLException
public java.io.Writer setCharacterStream(long arg0) throws java.sql.SQLException
setCharacterStream
in interface java.sql.Clob
java.sql.SQLException
public void truncate(long arg0) throws java.sql.SQLException
truncate
in interface java.sql.Clob
java.sql.SQLException
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.