All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.sql.OracleJdbc2SQLInput

java.lang.Object
   |
   +----oracle.sql.OracleJdbc2SQLInput

public class OracleJdbc2SQLInput
extends Object
implements SQLInput

Method Index

 o readARRAY()
Return the next attribute in the stream as a oracle.sql.ARRAY object.
 o readArray()
Read an array from the stream.
 o readAsciiStream()
Return the next attribute in the stream as a stream of ASCII characters.
 o readBFILE()
Return the next attribute in the stream as a oracle.sql.BFILE object.
 o readBigDecimal()
Read the next attribute in the stream as a java.math.BigDecimal object.
 o readBinaryStream()
Return the next attribute in the stream as a stream of uninterpreted bytes.
 o readBlob()
Read a BLOB from the stream.
 o readBLOB()
Return the next attribute in the stream as a oracle.sql.BLOB object.
 o readBoolean()
Read the next attribute in the stream as a Java boolean.
 o readByte()
Read the next attribute in the stream as a Java byte.
 o readBytes()
Read the next attribute in the stream as an array of bytes.
 o readCHAR()
Return the next attribute in the stream as a oracle.sql.CHAR object.
 o readCharacterStream()
Return the next attribute in the stream as a stream of Unicode characters.
 o readClob()
Read a CLOB from the stream.
 o readCLOB()
Return the next attribute in the stream as a oracle.sql.CLOB object.
 o readDATE()
Return the next attribute in the stream as a oracle.sql.DATE object.
 o readDate()
Read the next attribute in the stream as a java.sql.Date object.
 o readDouble()
Read the next attribute in the stream as a Java double.
 o readFloat()
Read the next attribute in the stream as a Java float.
 o readInt()
Read the next attribute in the stream as a Java int.
 o readLong()
Read the next attribute in the stream as a Java long.
 o readNUMBER()
Return the next attribute in the stream as a oracle.sql.NUMBER object.
 o readObject()
Return the datum at the head of the stream as a Java object.
 o readOracleObject()
Return the next attribute in the stream as a oracle.sql.Datum object.
 o readRAW()
Return the next attribute in the stream as a oracle.sql.RAW object.
 o readREF()
Return the next attribute in the stream as a oracle.sql.REF object.
 o readRef()
Read a REF(<structured-type>) from the stream.
 o readROWID()
Return the next attribute in the stream as a oracle.sql.ROwID object.
 o readShort()
Read the next attribute in the stream as a Java short.
 o readString()
Read the next attribute in the stream as a Java String.
 o readStruct()
Reads a Struct.
 o readSTRUCT()
Return the next attribute in the stream as a oracle.sql.STRUCT object.
 o readTime()
Read the next attribute in the stream as a java.sql.Time object.
 o readTimestamp()
Read the next attribute in the stream as a java.sql.Timestamp object.
 o wasNull()

Methods

 o readString
 public String readString() throws SQLException
Read the next attribute in the stream as a Java String.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBoolean
 public boolean readBoolean() throws SQLException
Read the next attribute in the stream as a Java boolean.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readByte
 public byte readByte() throws SQLException
Read the next attribute in the stream as a Java byte.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readShort
 public short readShort() throws SQLException
Read the next attribute in the stream as a Java short.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readInt
 public int readInt() throws SQLException
Read the next attribute in the stream as a Java int.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readLong
 public long readLong() throws SQLException
Read the next attribute in the stream as a Java long.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readFloat
 public float readFloat() throws SQLException
Read the next attribute in the stream as a Java float.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readDouble
 public double readDouble() throws SQLException
Read the next attribute in the stream as a Java double.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBigDecimal
 public BigDecimal readBigDecimal() throws SQLException
Read the next attribute in the stream as a java.math.BigDecimal object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBytes
 public byte[] readBytes() throws SQLException
Read the next attribute in the stream as an array of bytes.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readDate
 public Date readDate() throws SQLException
Read the next attribute in the stream as a java.sql.Date object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readTime
 public Time readTime() throws SQLException
Read the next attribute in the stream as a java.sql.Time object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readTimestamp
 public Timestamp readTimestamp() throws SQLException
Read the next attribute in the stream as a java.sql.Timestamp object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readCharacterStream
 public Reader readCharacterStream() throws SQLException
Return the next attribute in the stream as a stream of Unicode characters.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readAsciiStream
 public InputStream readAsciiStream() throws SQLException
Return the next attribute in the stream as a stream of ASCII characters.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBinaryStream
 public InputStream readBinaryStream() throws SQLException
Return the next attribute in the stream as a stream of uninterpreted bytes.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readObject
 public Object readObject() throws SQLException
Return the datum at the head of the stream as a Java object. The actual type of the object returned is determined by the default type mapping, and any customizations present in this stream's type map. A type map is registered with the stream by the JDBC driver before the stream is passed to the application. When the datum at the head of the stream is an SQL NULL, the method returns null. If the datum is an SQL structured or distinct type, it determines the SQL type of the datum at the head of the stream, constructs an object of the appropriate class, and calls method SQLData.readSQL on that object, which reads additional data from the stream, using the protocol described for SQLData.readSQL.

 o readRef
 public Ref readRef() throws SQLException
Read a REF(<structured-type>) from the stream.

Returns:
an object representing data of an SQL REF Type
 o readBlob
 public Blob readBlob() throws SQLException
Read a BLOB from the stream.

Returns:
an object representing a BLOB
 o readClob
 public Clob readClob() throws SQLException
Read a CLOB from the stream.

Returns:
an object representing a CLOB
 o readArray
 public Array readArray() throws SQLException
Read an array from the stream.

Returns:
an object representing an SQL array
 o readStruct
 public Struct readStruct() throws SQLException
Reads a Struct. Unlike readObject, ignore the map.

Returns:
an object representing an SQL array
 o wasNull
 public boolean wasNull() throws SQLException
Returns:
true iff the most recently gotten SQL value was null.
 o readOracleObject
 public Object readOracleObject() throws SQLException
Return the next attribute in the stream as a oracle.sql.Datum object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readNUMBER
 public NUMBER readNUMBER() throws SQLException
Return the next attribute in the stream as a oracle.sql.NUMBER object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readCHAR
 public CHAR readCHAR() throws SQLException
Return the next attribute in the stream as a oracle.sql.CHAR object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readDATE
 public DATE readDATE() throws SQLException
Return the next attribute in the stream as a oracle.sql.DATE object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBFILE
 public BFILE readBFILE() throws SQLException
Return the next attribute in the stream as a oracle.sql.BFILE object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readBLOB
 public BLOB readBLOB() throws SQLException
Return the next attribute in the stream as a oracle.sql.BLOB object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readCLOB
 public CLOB readCLOB() throws SQLException
Return the next attribute in the stream as a oracle.sql.CLOB object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readRAW
 public RAW readRAW() throws SQLException
Return the next attribute in the stream as a oracle.sql.RAW object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readREF
 public REF readREF() throws SQLException
Return the next attribute in the stream as a oracle.sql.REF object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readROWID
 public ROWID readROWID() throws SQLException
Return the next attribute in the stream as a oracle.sql.ROwID object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readARRAY
 public ARRAY readARRAY() throws SQLException
Return the next attribute in the stream as a oracle.sql.ARRAY object.

Returns:
the attribute; if the value is SQL NULL, return null.
 o readSTRUCT
 public STRUCT readSTRUCT() throws SQLException
Return the next attribute in the stream as a oracle.sql.STRUCT object.

Returns:
the attribute; if the value is SQL NULL, return null.

All Packages  Class Hierarchy  This Package  Previous  Next  Index