Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

InputStream com::mysql::jdbc::ResultSet::getUnicodeStream ( int  columnIndex  )  throws SQLException [inline, inherited]

A column value can also be retrieved as a stream of Unicode characters. We implement this as a binary stream.

Parameters:
columnIndex the first column is 1, the second is 2...
Returns:
a Java InputStream that delivers the database column value as a stream of two byte Unicode characters. If the value is SQL NULL, then the result is null
Exceptions:
SQLException if a database access error occurs
See also:
getAsciiStream

getBinaryStream

Deprecated:

Definition at line 2444 of file ResultSet.java.

                            {
        if (!this.isBinaryEncoded) {
            checkRowPos();

            return getBinaryStream(columnIndex);
        }

        return getNativeBinaryStream(columnIndex);
    }


Generated by  Doxygen 1.6.0   Back to index