com.ibm.as400.access.jdbcClient

Class ClientClob

  • java.lang.Object
    • com.ibm.as400.access.jdbcClient.ClientClob
  • All Implemented Interfaces:
    java.io.Serializable, java.sql.Clob


    public class ClientClob
    extends java.lang.Object
    implements java.sql.Clob, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ClientClob(java.lang.String data) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void free() 
      java.io.InputStream getAsciiStream() 
      java.io.Reader getCharacterStream() 
      java.io.Reader getCharacterStream(long pos, long length) 
      java.lang.String getSubString(long start, int length) 
      long length() 
      long position(java.sql.Clob pattern, long start) 
      long position(java.lang.String pattern, 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 offest, int len) 
      void truncate(long len) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientClob

        public ClientClob(java.lang.String data)
    • Method Detail

      • getAsciiStream

        public java.io.InputStream getAsciiStream()
        Specified by:
        getAsciiStream in interface java.sql.Clob
      • getCharacterStream

        public java.io.Reader getCharacterStream()
        Specified by:
        getCharacterStream in interface java.sql.Clob
      • getCharacterStream

        public java.io.Reader getCharacterStream(long pos,
                                        long length)
        Specified by:
        getCharacterStream in interface java.sql.Clob
      • position

        public long position(java.lang.String pattern,
                    long start)
        Specified by:
        position in interface java.sql.Clob
      • position

        public long position(java.sql.Clob pattern,
                    long start)
        Specified by:
        position in interface java.sql.Clob
      • getSubString

        public java.lang.String getSubString(long start,
                                    int length)
        Specified by:
        getSubString in interface java.sql.Clob
      • length

        public long length()
        Specified by:
        length in interface java.sql.Clob
      • setString

        public int setString(long pos,
                    java.lang.String str)
        Specified by:
        setString in interface java.sql.Clob
      • setString

        public int setString(long pos,
                    java.lang.String str,
                    int offest,
                    int len)
        Specified by:
        setString in interface java.sql.Clob
      • setAsciiStream

        public java.io.OutputStream setAsciiStream(long pos)
        Specified by:
        setAsciiStream in interface java.sql.Clob
      • setCharacterStream

        public java.io.Writer setCharacterStream(long pos)
        Specified by:
        setCharacterStream in interface java.sql.Clob
      • truncate

        public void truncate(long len)
        Specified by:
        truncate in interface java.sql.Clob
      • free

        public void free()
        Specified by:
        free in interface java.sql.Clob