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
-
readARRAY()
- Return the next attribute in the stream as a oracle.sql.ARRAY object.
-
readArray()
- Read an array from the stream.
-
readAsciiStream()
- Return the next attribute in the stream as a stream of ASCII characters.
-
readBFILE()
- Return the next attribute in the stream as a oracle.sql.BFILE object.
-
readBigDecimal()
- Read the next attribute in the stream as a java.math.BigDecimal object.
-
readBinaryStream()
- Return the next attribute in the stream as a stream of uninterpreted
bytes.
-
readBlob()
- Read a BLOB from the stream.
-
readBLOB()
- Return the next attribute in the stream as a oracle.sql.BLOB object.
-
readBoolean()
- Read the next attribute in the stream as a Java boolean.
-
readByte()
- Read the next attribute in the stream as a Java byte.
-
readBytes()
- Read the next attribute in the stream as an array of bytes.
-
readCHAR()
- Return the next attribute in the stream as a oracle.sql.CHAR object.
-
readCharacterStream()
- Return the next attribute in the stream as a stream of Unicode characters.
-
readClob()
- Read a CLOB from the stream.
-
readCLOB()
- Return the next attribute in the stream as a oracle.sql.CLOB object.
-
readDATE()
- Return the next attribute in the stream as a oracle.sql.DATE object.
-
readDate()
- Read the next attribute in the stream as a java.sql.Date object.
-
readDouble()
- Read the next attribute in the stream as a Java double.
-
readFloat()
- Read the next attribute in the stream as a Java float.
-
readInt()
- Read the next attribute in the stream as a Java int.
-
readLong()
- Read the next attribute in the stream as a Java long.
-
readNUMBER()
- Return the next attribute in the stream as a oracle.sql.NUMBER object.
-
readObject()
- Return the datum at the head of the stream as a Java object.
-
readOracleObject()
- Return the next attribute in the stream as a oracle.sql.Datum object.
-
readRAW()
- Return the next attribute in the stream as a oracle.sql.RAW object.
-
readREF()
- Return the next attribute in the stream as a oracle.sql.REF object.
-
readRef()
- Read a REF(<structured-type>) from the stream.
-
readROWID()
- Return the next attribute in the stream as a oracle.sql.ROwID object.
-
readShort()
- Read the next attribute in the stream as a Java short.
-
readString()
- Read the next attribute in the stream as a Java String.
-
readStruct()
- Reads a Struct.
-
readSTRUCT()
- Return the next attribute in the stream as a oracle.sql.STRUCT object.
-
readTime()
- Read the next attribute in the stream as a java.sql.Time object.
-
readTimestamp()
- Read the next attribute in the stream as a java.sql.Timestamp object.
-
wasNull()
-
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
readRef
public Ref readRef() throws SQLException
- Read a REF(<structured-type>) from the stream.
- Returns:
- an object representing data of an SQL REF Type
readBlob
public Blob readBlob() throws SQLException
- Read a BLOB from the stream.
- Returns:
- an object representing a BLOB
readClob
public Clob readClob() throws SQLException
- Read a CLOB from the stream.
- Returns:
- an object representing a CLOB
readArray
public Array readArray() throws SQLException
- Read an array from the stream.
- Returns:
- an object representing an SQL array
readStruct
public Struct readStruct() throws SQLException
- Reads a Struct. Unlike readObject, ignore the map.
- Returns:
- an object representing an SQL array
wasNull
public boolean wasNull() throws SQLException
- Returns:
- true iff the most recently gotten SQL value was null.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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