Здавалка
Главная | Обратная связь

GetAsciiStream(), getBinaryStream(), getCharacterStream() и getUnicodeStream()



public InputStream getAsciiStream(int index)

throws SQLException public InputStream getAsciiStream(String cnane)

throws SQLException public InputStream getBinaryStream(int index)

throws SQLException public InputStream getBinaryStream(String cname)

throws SQLException public Reader getCharacterStream(int index)

throws SQLException public ReadeT getCharacterStream(String cname)

throws SQLException #public InputStream getUnicodeStream(int index)

throws SQLException #public InputStream getUnicodeStream(String cname)

throws SQLException

Описание. В некоторых случаях удобнее извлекать из базы большие порции данных с помощью входного потока Java InputStream. Эти методы позволяют приложению извлекать данные установленной колонки текущей строки указанным способом. Заметьте, что устаревшему методу getUnicodeStream() следует предпочесть метод

GetCharacterStream().

GetArray(), getBlob(), getBoolean(), getByte(), getBytes(), getClob(), getDate(), getDouble(), getFloat(), getlnt(), getLong(), getRef(), getShort(),getString(),getTime()ugetTimestamp()

public Array getArray(int index) throws SQLException

public Array getArray(String cname) throws SQLException

public Blob getBlob(int index) throws SQLException

public Blob getBlob(String cname) throws SQLException

public boolean getBoolean(int index) throws SQLException

public boolean getBoolean(String cname) throws SQLException

public byte getByte(int index) throws SQLException

public byte getByte(String cname) throws SQLException

public byte[] getBytes(int index) throws SQLException

public byte[] getBytes(String cname) throws SQLException

public Clob getClob(int index) throws SQLException

public Clob getClob(String cname) throws SQLException

public Date getOate(int index) throws SQLException

public Date getDate(String cname) throws SQLException

public double getDouble(int index) throws SQLException

public double getDouble(String cname) throws SQLException

public float getFloat(int index) throws SQLException

public float getFloat(String cname) throws SQLException

public int getlnt(int index) throws SQLException

public int get!nt(String cname) throws SQLException

public long getLong(int index) throws SQLException

public long getLong(String cname) throws SQLException

public Ref getRef(int index) throws SQLException

public Ref getRef(String cname) throws SQLException

public short getShort(int index) throws SQLException

public short getShort(String cname) throws SQLException

public String getString(int index) throws SQLException

public String getString(String cname) throws SQLException

public Time getTime(int index) throws SQLException

public Time getTime(String cname) throws SQLException

public Timestamp getTimestamp(int index)

throws SQLException public Timestamp getTimestamp(String cname)

throws SQLException

Описание. Эти методы возвращают значение заданной колонки текущей строки с типом данных, соответствующим имени метода.







©2015 arhivinfo.ru Все права принадлежат авторам размещенных материалов.