|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.sql.Datum | +--oracle.sql.CLOB
Field Summary | |
static int |
MAX_CHUNK_SIZE
|
Method Summary | |
static CLOB |
empty_lob()
Return a empty lob. |
java.io.OutputStream |
getAsciiOutputStream()
Oracle extension. |
java.io.InputStream |
getAsciiStream()
Implements the Clob interface method. |
int |
getBufferSize()
Oracle extension. |
java.io.Writer |
getCharacterOutputStream()
Oracle extension. |
java.io.Reader |
getCharacterStream()
Implements the Clob interface method. |
int |
getChars(long pos,
int length,
char[] buffer)
Oracle extension. |
int |
getChunkSize()
Oracle extension. |
OracleConnection |
getConnection()
Oracle extension. |
java.lang.String |
getSubString(long pos,
int length)
Implements the Clob interface method. |
boolean |
isConvertibleTo(java.lang.Class jClass)
Test whether this data object can be converted to the specified Java data type. |
boolean |
isEmptyLob()
|
long |
length()
Implements the Clob interface method. |
long |
position(oracle.jdbc2.Clob searchstr,
long start)
Implements the Clob interface method. |
long |
position(java.lang.String searchstr,
long start)
Implements the Clob interface method. |
int |
putChars(long pos,
char[] chars)
Oracle extension. |
int |
putString(long pos,
java.lang.String str)
Oracle extension. |
java.lang.Object |
toJdbc()
Convert this data object into its default Java object type. |
Methods inherited from class oracle.sql.Datum |
asciiStreamValue,
bigDecimalValue,
binaryStreamValue,
booleanValue,
byteValue,
characterStreamValue,
dateValue,
doubleValue,
equals,
floatValue,
getBytes,
getLength,
getStream,
intValue,
longValue,
makeJdbcArray,
setBytes,
setShareBytes,
shareBytes,
stringValue,
timestampValue,
timeValue |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int MAX_CHUNK_SIZE
Method Detail |
public long length() throws java.sql.SQLException
CLOB
value
designated by this Clob
object.CLOB
in charactersCLOB
public java.lang.String getSubString(long pos, int length) throws java.sql.SQLException
CLOB
value
designated by this Clob
object.
The substring begins at position
pos
and has up to length
consecutive
characters.pos
- the first character of the substring to be extracted.
The first character is at position 1.length
- the number of consecutive characters to be copiedString
that is the specified substring in
the CLOB
value designated by this Clob
ob
jectCLOB
public java.io.Reader getCharacterStream() throws java.sql.SQLException
Clob
contents as a Unicode stream.CLOB
dataCLOB
public java.io.InputStream getAsciiStream() throws java.sql.SQLException
CLOB
value designated by this Clob
object as a stream of Ascii bytes.CLOB
dataCLOB
valuepublic long position(java.lang.String searchstr, long start) throws java.sql.SQLException
searchstr
- is the substring to search for.start
- is the position at which to begin searching.public long position(oracle.jdbc2.Clob searchstr, long start) throws java.sql.SQLException
searchstr
- is the substring to search for.start
- is the position at which to begin searching.public int getChars(long pos, int length, char[] buffer) throws java.sql.SQLException
buffer
- is the buffer into whcih the characters are read.pos
- is the first character of the substring to be extracted.length
- is the number of consecutive character to be copied.public java.io.Writer getCharacterOutputStream() throws java.sql.SQLException
public java.io.OutputStream getAsciiOutputStream() throws java.sql.SQLException
public OracleConnection getConnection() throws java.sql.SQLException
public int putChars(long pos, char[] chars) throws java.sql.SQLException
pos
- is the position to write characters.chars
- is the buffer of characters to be written.public int putString(long pos, java.lang.String str) throws java.sql.SQLException
pos
- is the position to write characters.str
- is the Java string to be written.public int getChunkSize() throws java.sql.SQLException
public int getBufferSize() throws java.sql.SQLException
public static CLOB empty_lob() throws java.sql.SQLException
public boolean isEmptyLob() throws java.sql.SQLException
public java.lang.Object toJdbc() throws java.sql.SQLException
public boolean isConvertibleTo(java.lang.Class jClass)
jClass
- specifies the Java data type to test against.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |