Modifier and Type | Method and Description |
---|---|
void |
copyCharacterStream(Reader characterStream) |
void |
copyCharacterStream(Reader characterStream,
long length)
Copy data from a character stream into this Blob.
|
void |
free() |
InputStream |
getAsciiStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length) |
String |
getSubString(long pos,
int length) |
FBBlob |
getWrappedBlob()
Retrieves the FBBlob wrapped by this FBClob.
|
long |
length() |
long |
position(Clob searchstr,
long start) |
long |
position(String searchstr,
long start) |
OutputStream |
setAsciiStream(long pos) |
Writer |
setCharacterStream(long position) |
int |
setString(long pos,
String str) |
int |
setString(long pos,
String str,
int offset,
int len) |
void |
truncate(long param1) |
public FBClob(FBBlob blob)
public long length() throws SQLException
length
in interface Clob
SQLException
public void truncate(long param1) throws SQLException
This operation is not currently supported
truncate
in interface Clob
SQLException
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
public Reader getCharacterStream() throws SQLException
getCharacterStream
in interface Clob
SQLException
public InputStream getAsciiStream() throws SQLException
getAsciiStream
in interface Clob
SQLException
public long position(String searchstr, long start) throws SQLException
Jaybird currently does not support this method.
position
in interface Clob
SQLException
public long position(Clob searchstr, long start) throws SQLException
Jaybird currently does not support this method.
position
in interface Clob
SQLException
public int setString(long pos, String str) throws SQLException
Jaybird currently does not support this method.
setString
in interface Clob
SQLException
public int setString(long pos, String str, int offset, int len) throws SQLException
Jaybird currently does not support this method.
setString
in interface Clob
SQLException
public OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream
in interface Clob
SQLException
public Writer setCharacterStream(long position) throws SQLException
setCharacterStream
in interface Clob
SQLException
public void free() throws SQLException
free
in interface Clob
SQLException
public Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream
in interface Clob
SQLException
public void copyCharacterStream(Reader characterStream, long length) throws SQLException
Calling with length -1
is equivalent to calling copyCharacterStream(Reader)
.
characterStream
- the source of data to copylength
- The maximum number of bytes to copy, or -1
to read the whole streamSQLException
public void copyCharacterStream(Reader characterStream) throws SQLException
SQLException
public FBBlob getWrappedBlob() throws SQLException
SQLException
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.