(execute session query)
(execute session query {:as opts})
similar to qbits.alia/execute
, but executes async and returns
just the first page of results in a Deferred
similar to `qbits.alia/execute`, but executes async and returns just the first page of results in a `Deferred`
(execute-stream session query)
(execute-stream session query {:as opts})
like execute-stream-pages
, but returns a Stream<row>
supports all the args of execute-stream-pages
like `execute-stream-pages`, but returns a `Stream<row>` supports all the args of `execute-stream-pages`
(execute-stream-pages session query)
(execute-stream-pages
session
query
{stream :stream page-buffer-size :page-buffer-size :as opts})
similar to qbits.alia/execute
, but executes async and returns a
Stream<AliaAsyncResultSetPage>
the :current-page
of each AliaAsyncResultSetPage
is built by
applying :result-set-fn
(default clojure.core/seq
) to an
Iterable
+ IReduceInit
supporting version of the AsyncResultSet
supports all the args of qbits.alia/execute
and:
:page-buffer-size
determines the number of pages to buffer ahead,
defaults to 1:stream
- optional - the stream to copy records to, defaults to a new
stream with buffer size :page-buffer-size
similar to `qbits.alia/execute`, but executes async and returns a `Stream<AliaAsyncResultSetPage>` the `:current-page` of each `AliaAsyncResultSetPage` is built by applying `:result-set-fn` (default `clojure.core/seq`) to an `Iterable` + `IReduceInit` supporting version of the `AsyncResultSet` supports all the args of `qbits.alia/execute` and: - `:page-buffer-size` determines the number of pages to buffer ahead, defaults to 1 - `:stream` - optional - the stream to copy records to, defaults to a new stream with buffer size `:page-buffer-size`
(handle-page-completion-stage completion-stage {stream :stream :as opts})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close