me.vedang.clj-fdb.key-selector

add

(add key-selector offset)

Returns a new KeySelector offset by a given number of keys from this one. https://apple.github.io/foundationdb/developer-guide.html#key-selectors.

first-greater-or-equal

(first-greater-or-equal key)

Creates a KeySelector that picks the first key greater than or equal to the parameter

first-greater-than

(first-greater-than key)

Creates a KeySelector that picks the first key greater than the parameter

get-key

(get-key key-selector)

Returns a copy of the key that serves as the anchor for this KeySelector. This is not the key to which this KeySelector would resolve to.

get-offset

(get-offset key-selector)

Returns the key offset parameter for this KeySelector.

last-less-or-equal

(last-less-or-equal key)

Returns a KeySelector that picks the last key less than or equal to the parameter.

last-less-than

(last-less-than key)

Creates a KeySelector that picks the last key less than the parameter