public interface StreamingResultSet
Modifier and Type | Interface and Description |
---|---|
static class |
StreamingResultSet.RowEvent |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp |
getRowtimeBound()
Returns the latest rowtime bound from the target stream.
|
StreamingResultSet.RowEvent |
nextRowOrRowtime()
Extension to
ResultSet.next that returns when the next row
or new rowtime bound arrives. |
StreamingResultSet.RowEvent |
nextRowOrRowtime(long timeout)
Extension to
ResultSet.next that returns when the next row
or new rowtime bound arrives. |
StreamingResultSet.RowEvent nextRowOrRowtime() throws java.sql.SQLException
ResultSet.next
that returns when the next row
or new rowtime bound arrives.RowEvent
indicating whether row or rowtime
bound has arrived. If NewRow
is returned, then JDBC fields
will be set as in ResultSet.next
.java.sql.SQLException
StreamingResultSet.RowEvent nextRowOrRowtime(long timeout) throws java.sql.SQLException
ResultSet.next
that returns when the next row
or new rowtime bound arrives.timeout
- timeout in milliseconds.RowEvent
indicating whether row or rowtime
bound has arrived. If NewRow
is returned, then JDBC fields
will be set as in ResultSet.next
.java.sql.SQLException
java.sql.Timestamp getRowtimeBound() throws java.sql.SQLException
java.sql.SQLException
Copyright (C) 2003-2021 SQLstream, Inc.