Liking cljdoc? Tell your friends :D

exoscale.vinyl.cursor

Utilities to work with RecordCursor

Utilities to work with `RecordCursor`
raw docstring

apply-transduceclj

(apply-transduce cursor f init)
(apply-transduce cursor f init cont-fn)
(apply-transduce cursor xform f init cont-fn)

A variant of RecordCursor::reduce that honors reduced? and supports transducers. Hopefully https://github.com/FoundationDB/fdb-record-layer/pull/1272 gets in which will provide a way to do this directly from record layer.

When cont-fn is given, it will be called on the last seen continuation byte array for every new element.

A variant of `RecordCursor::reduce` that honors `reduced?` and supports
transducers.
Hopefully https://github.com/FoundationDB/fdb-record-layer/pull/1272
gets in which will provide a way to do this directly from record layer.

When `cont-fn` is given, it will be called on the last seen continuation
byte array for every new element.
sourceraw docstring

apply-transformsclj

(apply-transforms cursor
                  {:exoscale.vinyl.store/keys [list? skip limit transform
                                               reduce-init transducer reducer
                                               filter foreach iterator?]})

Apply transformations to a record cursor.

Apply transformations to a record cursor.
sourceraw docstring

CursorHoldercljprotocol

as-iteratorclj

(as-iterator this)

Transform a cursor or cursor future to an iterator

Transform a cursor or cursor future to an iterator

as-listclj

(as-list this)

Transform a cursor or cursor future to a list

Transform a cursor or cursor future to a list
source

reducibleclj

(reducible cursor)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close