SqlServerResultSet
classin packageklyn.databases.sql.sqlserver
public class SqlServerResultSet implements ResultSet
SqlServerResultSet
All Implemented Interfaces: ResultSet

In-memory SQL Server result set.

import klyn.databases.sql.sqlserver

rows = SqlServerResultSet.empty()
while rows.next():
    print(rows.getString("name"))
Properties
Modifier and Type Member Description
public readonly property afterLast
afterLast as Boolean
No summary.
public readonly property beforeFirst
beforeFirst as Boolean
No summary.
public readonly property closed
closed as Boolean
No summary.
public readonly property concurrency
concurrency as ResultSetConcurrency
No summary.
public property fetchDirection
fetchDirection as FetchDirection
No summary.
public property fetchSize
fetchSize as Int
No summary.
public readonly property holdability
holdability as ResultSetHoldability
No summary.
public readonly property lastReadWasNull
lastReadWasNull as Boolean
No summary.
public readonly property metadata
metadata as ResultSetMetaData
No summary.
public readonly property resultSetType
resultSetType as ResultSetType
No summary.
public readonly property rowNumber
rowNumber as Int
No summary.
public readonly property statement
statement as Statement
No summary.
public readonly property warning
warning as SQLWarning
No summary.
Methods
Modifier and Type Member Description
public absolute
absolute(rowNumber as Int) as Boolean throws SQLException
Moves the result-set cursor.
public clearWarnings
clearWarnings() as Void
No summary.
public override close
close() as Void
No summary.
public static empty
empty(statement as Statement = null) as SqlServerResultSet
No summary.
public first
first() as Boolean throws SQLException
Moves the result-set cursor.
public getBoolean
getBoolean(column as Object) as Boolean throws SQLException
Reads data from the current result-set row.
public getDateTime
getDateTime(column as Object) as DateTime throws SQLException
Reads data from the current result-set row.
public getDouble
getDouble(column as Object) as Double throws SQLException
Reads data from the current result-set row.
public getInt
getInt(column as Object) as Int throws SQLException
Reads data from the current result-set row.
public getLong
getLong(column as Object) as Long throws SQLException
Reads data from the current result-set row.
public getObject
getObject(column as Object) as Object throws SQLException
Reads data from the current result-set row.
public getString
getString(column as Object) as String throws SQLException
Reads data from the current result-set row.
public last
last() as Boolean throws SQLException
Moves the result-set cursor.
public moveAfterLast
moveAfterLast() as Void throws SQLException
Moves the result-set cursor.
public moveBeforeFirst
moveBeforeFirst() as Void throws SQLException
Moves the result-set cursor.
public next
next() as Boolean throws SQLException
Moves the result-set cursor.
public previous
previous() as Boolean throws SQLException
Moves the result-set cursor.
public relative
relative(offset as Int) as Boolean throws SQLException
Moves the result-set cursor.
public wasNull
wasNull() as Boolean throws SQLException
Reads data from the current result-set row.
Inherited Methods
methodInherited Methods from AutoClosable: close