API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.sql. SQLInput View Source
Author(s)
Since
1.2
Version
Serial
Hierarchy
 SQLInput
Subinterfaces
Description
public interface SQLInput
  An input stream that contains a stream of values representing an instance of an SQL structured type or an SQL distinct type.
See also:   
Methods
Hide/Show inherited methods
public Array readArray () throws SQLException
  Reads an SQL ARRAY value from the stream and returns it as an Array object in the Java programming language.
public InputStream readAsciiStream () throws SQLException
  Reads the next attribute in the stream and returns it as a stream of ASCII characters.
public BigDecimal readBigDecimal () throws SQLException
  Reads the next attribute in the stream and returns it as a java.math.BigDecimal object in the Java programming language.
public InputStream readBinaryStream () throws SQLException
  Reads the next attribute in the stream and returns it as a stream of uninterpreted bytes.
public Blob readBlob () throws SQLException
  Reads an SQL BLOB value from the stream and returns it as a Blob object in the Java programming language.
public boolean readBoolean () throws SQLException
  Reads the next attribute in the stream and returns it as a boolean in the Java programming language.
public byte readByte () throws SQLException
  Reads the next attribute in the stream and returns it as a byte in the Java programming language.
public byte readBytes () throws SQLException
  Reads the next attribute in the stream and returns it as an array of bytes in the Java programming language.
public Reader readCharacterStream () throws SQLException
  Reads the next attribute in the stream and returns it as a stream of Unicode characters.
public Clob readClob () throws SQLException
  Reads an SQL CLOB value from the stream and returns it as a Clob object in the Java programming language.
public Date readDate () throws SQLException
  Reads the next attribute in the stream and returns it as a java.sql.Date object.
public double readDouble () throws SQLException
  Reads the next attribute in the stream and returns it as a double in the Java programming language.
public float readFloat () throws SQLException
  Reads the next attribute in the stream and returns it as a float in the Java programming language.
public int readInt () throws SQLException
  Reads the next attribute in the stream and returns it as an int in the Java programming language.
public long readLong () throws SQLException
  Reads the next attribute in the stream and returns it as a long in the Java programming language.
public NClob readNClob () throws SQLException
  Reads an SQL NCLOB value from the stream and returns it as a NClob object in the Java programming language.
public String readNString () throws SQLException
  Reads the next attribute in the stream and returns it as a String in the Java programming language.
public Object readObject () throws SQLException
  Reads the datum at the head of the stream and returns it as an Object in the Java programming language.
public Ref readRef () throws SQLException
  Reads an SQL REF value from the stream and returns it as a Ref object in the Java programming language.
public RowId readRowId () throws SQLException
  Reads an SQL ROWID value from the stream and returns it as a RowId object in the Java programming language.
public short readShort () throws SQLException
  Reads the next attribute in the stream and returns it as a short in the Java programming language.
public SQLXML readSQLXML () throws SQLException
  Reads an SQL XML value from the stream and returns it as a SQLXML object in the Java programming language.
public String readString () throws SQLException
  Reads the next attribute in the stream and returns it as a String in the Java programming language.
public Time readTime () throws SQLException
  Reads the next attribute in the stream and returns it as a java.sql.Time object.
public Timestamp readTimestamp () throws SQLException
  Reads the next attribute in the stream and returns it as a java.sql.Timestamp object.
public URL readURL () throws SQLException
  Reads an SQL DATALINK value from the stream and returns it as a java.net.URL object in the Java programming language.
public boolean wasNull () throws SQLException
  Retrieves whether the last value read was SQL NULL.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar