Top Description Methods
org.h2.tools

public Interface SimpleRowSource

Known Direct Implementers
org.h2.tools.Csv
Imports
java.sql.SQLException

This interface is for classes that create rows on demand. It is used together with SimpleResultSet to create a dynamic result set.

Method Summary

Modifier and TypeMethod and Description
public void
close()

Close the row source.

public Object[]

Returns:

the row or null
readRow
()

Get the next row.

public void
reset()

Reset the position (before the first row).

Method Detail

closeback to summary
public void close()

Close the row source.

readRowback to summary
public Object[] readRow() throws SQLException

Get the next row. Must return null if no more rows are available.

Returns:Object[]

the row or null

Exceptions
SQLException:
on failure
resetback to summary
public void reset() throws SQLException

Reset the position (before the first row).

Exceptions
SQLException:
if this operation is not supported