Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 6.0sp2 API Reference

## weblogic.jdbc.oci
Class Clob

    java.lang.Object
      |
      +--weblogic.jdbc.oci.Clob

public class Clob
extends java.lang.Object
implements java.sql.Clob, weblogic.jdbc.common.OracleLobCloser, weblogic.jdbc.common.OracleClob

Version:
  2.0
Author:
  Copyright (c) 1999 by BEA WebXpress. All Rights Resrved.
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
`Clob(weblogic.db.oci.OciCursor cur, int pos, java.lang.String codeset, weblogic.db.oci.OciValue value)`

Method Summary
`void` | `close()`
`void` | `closeLob()`
`java.io.OutputStream` | `getAsciiOutputStream()` WebLogic extension to return an OutputStream for writing single byte ASCII characters to this CLOB
`java.io.InputStream` | `getAsciiStream()`
`java.io.Writer` | `getCharacterOutputStream()` WebLogic extension to return an OutputStream for writing possibly multibyte characters to this CLOB
`java.io.Reader` | `getCharacterStream()`
`protected weblogic.db.oci.OciLob` | `getOciLob()` OCI 8.1.5 or greater only public long getChunkSize() { return ((OciLob)val.valobj).getLobChunkSize(cur); }
`java.lang.String` | `getSubString(long position, int length)`
`long` | `length()`
`long` | `position(java.sql.Clob pattern, long start)`
`long` | `position(java.lang.String pattern, long start)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Clob

    public Clob(weblogic.db.oci.OciCursor cur,
                int pos,
                java.lang.String codeset,
                weblogic.db.oci.OciValue value)
         throws java.sql.SQLException

Method Detail

### getAsciiStream

    public java.io.InputStream getAsciiStream()
                                       throws java.sql.SQLException

  Specified by:
    getAsciiStream in interface java.sql.Clob

### getCharacterStream

    public java.io.Reader getCharacterStream()
                                      throws java.sql.SQLException

  Specified by:
    getCharacterStream in interface java.sql.Clob

### getSubString

    public java.lang.String getSubString(long position,
                                         int length)
                                  throws java.sql.SQLException

  Specified by:
    getSubString in interface java.sql.Clob

### length

    public long length()
                throws java.sql.SQLException

  Specified by:
    length in interface java.sql.Clob

### position

    public long position(java.sql.Clob pattern,
                         long start)
                  throws java.sql.SQLException

  Specified by:
    position in interface java.sql.Clob

### position

    public long position(java.lang.String pattern,
                         long start)
                  throws java.sql.SQLException

  Specified by:
    position in interface java.sql.Clob

### getAsciiOutputStream

    public java.io.OutputStream getAsciiOutputStream()
                                              throws java.sql.SQLException

  WebLogic extension to return an OutputStream for writing single byte ASCII characters to this CLOB
  Specified by:
    getAsciiOutputStream in interface weblogic.jdbc.common.OracleClob

### getCharacterOutputStream

    public java.io.Writer getCharacterOutputStream()
                                            throws java.sql.SQLException

  WebLogic extension to return an OutputStream for writing possibly multibyte characters to this CLOB
  Specified by:
    getCharacterOutputStream in interface weblogic.jdbc.common.OracleClob

### getOciLob

    protected weblogic.db.oci.OciLob getOciLob()

  OCI 8.1.5 or greater only public long getChunkSize() { return ((OciLob)val.valobj).getLobChunkSize(cur); }

### closeLob

    public void closeLob()

  Specified by:
    closeLob in interface weblogic.jdbc.common.OracleLobCloser

### close

    public void close()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs60
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD