API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql.rowset.serial. SerialClob View Source
Author(s)
Jonathan Bruce
Since
Version
Serial
Hierarchy
 Object
      SerialClob
Implements
 Clob
 Serializable
 Cloneable
Subclasses
Description
public class SerialClob
  A serialized mapping in the Java programming language of an SQL CLOB value.
See also:   
Constructors
public SerialClob (char[] ch) throws SerialException SQLException
  Constructs a SerialClob object that is a serialized version of the given char array.
public SerialClob (Clob clob) throws SerialException SQLException
  Constructs a SerialClob object that is a serialized version of the given Clob object.
Methods
Hide/Show inherited methods
public void free () throws SQLException [Specified in Clob]
public InputStream getAsciiStream () throws SerialException SQLException [Specified in Clob]
  Retrieves the CLOB value designated by this SerialClob object as an ascii stream.
public Reader getCharacterStream () throws SerialException [Specified in Clob]
  Returns this SerialClob object's data as a stream of Unicode characters.
public Reader getCharacterStream (long pos, long length) throws SQLException [Specified in Clob]
public String getSubString (long pos, int length) throws SerialException [Specified in Clob]
  Returns a copy of the substring contained in this SerialClob object, starting at the given position and continuing for the specified number or characters.
public long length () throws SerialException [Specified in Clob]
  Retrieves the number of characters in this SerialClob object's array of characters.
public long position (Clob searchStr, long start) throws SerialException SQLException [Specified in Clob]
  Returns the position in this SerialClob object where the given Clob signature begins, starting the search at the specified position.
public long position (String searchStr, long start) throws SerialException SQLException [Specified in Clob]
  Returns the position in this SerialClob object where the given String object begins, starting the search at the specified position.
public OutputStream setAsciiStream (long pos) throws SerialException SQLException [Specified in Clob]
  Retrieves a stream to be used to write Ascii characters to the CLOB value that this SerialClob object represents, starting at position pos.
public Writer setCharacterStream (long pos) throws SerialException SQLException [Specified in Clob]
  Retrieves a stream to be used to write a stream of Unicode characters to the CLOB value that this SerialClob object represents, at position pos.
public int setString (long pos, String str) throws SerialException [Specified in Clob]
  Writes the given Java String to the CLOB value that this SerialClob object represents, at the position pos.
public int setString (long pos, String str, int offset, int length) throws SerialException [Specified in Clob]
  Writes len characters of str, starting at character offset, to the CLOB value that this Clob represents.
public void truncate (long length) throws SerialException [Specified in Clob]
  Truncates the CLOB value that this SerialClob object represents so that it has a length of len characters.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-1662519690087375313"
The identifier that assists in the serialization of this SerialClob object.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar