CB-1291 ResultId in data read API

This commit is contained in:
Serge Rider
2021-09-27 19:11:51 +03:00
parent bf6635c1e5
commit 2457055c82
7 changed files with 63 additions and 43 deletions
@@ -80,19 +80,21 @@ public interface DBWServiceSQL extends DBWService {
WebAsyncTaskInfo asyncExecuteQuery(
@NotNull WebSQLContextInfo contextInfo,
@NotNull String sql,
@Nullable String resultId,
@Nullable WebSQLDataFilter filter,
@Nullable WebDataFormat dataFormat) throws DBException;
@WebAction
Boolean closeResult(@NotNull WebSQLContextInfo sqlContext, @NotNull String resultId) throws DBWebException;
@WebAction
WebAsyncTaskInfo asyncReadDataFromContainer(
@NotNull WebSQLContextInfo contextInfo,
@NotNull String nodePath,
@Nullable String resultId,
@Nullable WebSQLDataFilter filter,
@Nullable WebDataFormat dataFormat) throws DBWebException;
@WebAction
Boolean closeResult(@NotNull WebSQLContextInfo sqlContext, @NotNull String resultId) throws DBWebException;
@WebAction
WebSQLExecuteInfo updateResultsDataBatch(
@NotNull WebSQLContextInfo contextInfo,