public class StreamQueryResult extends Object implements YdbQueryResult
EMPTY| Constructor and Description |
|---|
StreamQueryResult(String msg,
YdbStatement statement,
YdbQuery query,
Runnable streamStopper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
YdbResultSet |
getCurrentResultSet() |
boolean |
getMoreResults(int current) |
int |
getUpdateCount() |
boolean |
hasResultSets() |
void |
onStreamFinished(tech.ydb.core.Status status) |
void |
onStreamFinished(Throwable th) |
void |
onStreamResultSet(int index,
tech.ydb.table.result.ResultSetReader rsr) |
public StreamQueryResult(String msg, YdbStatement statement, YdbQuery query, Runnable streamStopper)
public void onStreamResultSet(int index,
tech.ydb.table.result.ResultSetReader rsr)
public void onStreamFinished(Throwable th)
public void onStreamFinished(tech.ydb.core.Status status)
public void close()
throws SQLException
close in interface YdbQueryResultSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface YdbQueryResultSQLExceptionpublic YdbResultSet getCurrentResultSet() throws SQLException
getCurrentResultSet in interface YdbQueryResultSQLExceptionpublic boolean hasResultSets()
throws SQLException
hasResultSets in interface YdbQueryResultSQLExceptionpublic boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface YdbQueryResultSQLExceptionCopyright © 2024. All rights reserved.