Platforms to show: All Mac Windows Linux Cross-Platform
Back to JavaResultSetMBS class.
JavaResultSetMBS.getAsciiStream(column as Integer) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into ASCII.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not.
Parameters:
column: the first column is 1, the second is 2, ...
Returns a Java input stream that delivers the database column value as a stream of one-byte ASCII characters; if the value is SQL NULL, the value returned is null
Throws:
SQLException - if the columnIndex is not valid; if a database access error occurs or this method is called on a closed result set.
See also:
JavaResultSetMBS.getAsciiStream(column as string) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of ASCII characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into ASCII.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not.
Parameters:
column: the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Returns a Java input stream that delivers the database column value as a stream of one-byte ASCII characters. If the value is SQL NULL, the value returned is null.
Throws:
SQLException - if the columnLabel is not valid; if a database access error occurs or this method is called on a closed result set
See also:
JavaResultSetMBS.getBinaryStream(column as Integer) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of uninterpreted bytes. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARBINARY values.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not.
Parameters:
column: the first column is 1, the second is 2, ...
Returns a Java input stream that delivers the database column value as a stream of uninterpreted bytes; if the value is SQL NULL, the value returned is null
Throws:
SQLException - if the columnIndex is not valid; if a database access error occurs or this method is called on a closed result set
See also:
Some examples using this method:
JavaResultSetMBS.getBinaryStream(column as string) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of uninterpreted bytes. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARBINARY values.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not.
Parameters:
column: the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Returns a Java input stream that delivers the database column value as a stream of uninterpreted bytes; if the value is SQL NULL, the result is null.
Throws SQLException - if the columnLabel is not valid; if a database access error occurs or this method is called on a closed result set
See also:
JavaResultSetMBS.getBlob(column as Integer) as JavaBlobMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Column: the first column is 1, the second is 2, ...
Returns a Blob object representing the SQL BLOB value in the specified column
See also:
JavaResultSetMBS.getBlob(column as string) as JavaBlobMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
column: the name of the column from which to retrieve the value
Returns a Blob object representing the SQL BLOB value in the specified column
See also:
JavaResultSetMBS.getBoolean(column as Integer) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getBoolean.
See also:
JavaResultSetMBS.getBoolean(column as string) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getBoolean.
See also:
JavaResultSetMBS.getByte(column as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See also:
JavaResultSetMBS.getByte(column as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnName - the SQL name of the column
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See also:
JavaResultSetMBS.getBytes(column as Integer) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
column: the first column is 1, the second is 2, ...
the plugin gives you the bytes as a string with no encoding.
See also:
JavaResultSetMBS.getBytes(column as string) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
the plugin gives you the bytes as a string with no encoding.
See also:
JavaResultSetMBS.getClob(column as Integer) as JavaClobMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Column: the first column is 1, the second is 2, ...
Returns a Clob object representing the SQL CLOB value in the specified column
See also:
JavaResultSetMBS.getClob(column as string) as JavaClobMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
column: the name of the column from which to retrieve the value
Returns a Clob object representing the SQL CLOB value in the specified column
See also:
JavaResultSetMBS.getConcurrency as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The concurrency used is determined by the Statement object that created the result set.
Returns:
the concurrency type, either ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
JavaResultSetMBS.getCursorName as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
In SQL, a result table is retrieved through a cursor that is named. The current row of a result set can be updated or deleted using a positioned update/delete statement that references the cursor name. To insure that the cursor has the proper isolation level to support update, the cursor's SELECT statement should be of the form SELECT FOR UPDATE. If FOR UPDATE is omitted, the positioned updates may fail.
The JDBC API supports this SQL feature by providing the name of the SQL cursor used by a ResultSet object. The current row of a ResultSet object is also the current row of this SQL cursor.
Note: If positioned update is not supported, a SQLException is thrown.
Returns:
the SQL name for this ResultSet object's cursor
JavaResultSetMBS.getDate(column as integer) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getDate(column as string) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getDouble(column as Integer) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getDouble.
See also:
JavaResultSetMBS.getDouble(column as string) as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getDouble.
See also:
JavaResultSetMBS.getFloat(column as Integer) as single
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See also:
JavaResultSetMBS.getFloat(column as string) as single
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnName - the SQL name of the column
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See also:
JavaResultSetMBS.getInt(column as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See the java documentation for details on java.sql.ResultSet.getInt.
See also:
JavaResultSetMBS.getInt(column as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getInt.
See also:
JavaResultSetMBS.getLong(column as Integer) as int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getLong.
See also:
JavaResultSetMBS.getLong(column as string) as int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getLong.
See also:
JavaResultSetMBS.getMetaData as JavaResultSetMetaDataMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns:
the description of this ResultSet object's columns
JavaResultSetMBS.getRow as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getRow.
JavaResultSetMBS.getShort(column as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
the column value; if the value is SQL NULL, the value returned is 0.
See also:
JavaResultSetMBS.getShort(column as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Parameters:
columnName - the SQL name of the column
Returns:
the column value; if the value is SQL NULL, the value returned is 0
See also:
JavaResultSetMBS.getString(column as Integer) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getString.
See also:
JavaResultSetMBS.getString(column as string) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See the java documentation for details on java.sql.ResultSet.getString.
See also:
JavaResultSetMBS.getTime(column as integer) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getTime(column as string) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getTimestamp(column as integer) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getTimestamp(column as string) as JavaObjectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See also:
JavaResultSetMBS.getType as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The type is determined by the Statement object that created the result set.
Returns:
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
JavaResultSetMBS.getUnicodeStream(column as Integer) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as as a stream of two-byte 3 characters. The first byte is the high byte; the second byte is the low byte. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHARvalues. The JDBC driver will do any necessary conversion from the database format into Unicode.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called, whether there is data available or not.
Parameters:
column: the first column is 1, the second is 2, ...
Returns a Java input stream that delivers the database column value as a stream of two-byte Unicode characters; if the value is SQL NULL, the value returned is null
Throws:
SQLException - if the columnIndex is not valid; if a database access error occurs or this method is called on a closed result set
SQLFeatureNotSupportedException - if the JDBC driver does not support this method
See also:
JavaResultSetMBS.getUnicodeStream(column as string) as JavaInputStreamMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Java Database | MBS Java Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of two-byte Unicode characters. The first byte is the high byte; the second byte is the low byte. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC technology-enabled driver will do any necessary conversion from the database format into Unicode.
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getter method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called, whether there is data available or not.
Parameters:
column: the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Returns a Java input stream that delivers the database column value as a stream of two-byte Unicode characters. If the value is SQL NULL, the value returned is null.
Throws:
SQLException - if the columnLabel is not valid; if a database access error occurs or this method is called on a closed result set
SQLFeatureNotSupportedException - if the JDBC driver does not support this method
See also:
The items on this page are in the following plugins: MBS Java Plugin.