public class DummyClob
extends java.lang.Object
implements java.sql.Clob
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_contents |
Constructor and Description |
---|
DummyClob(java.lang.String contents) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
void |
free() |
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long pos,
long length) |
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
public void free() throws java.sql.SQLException
free
in interface java.sql.Clob
java.sql.SQLException
public java.io.Reader getCharacterStream(long pos, long length) throws java.sql.SQLException
getCharacterStream
in interface java.sql.Clob
java.sql.SQLException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.