package
iterator
Type Members
-
case class
DBIterator[K, V](api: SwayDBAPI, from: Option[From[K]], reverse: Boolean = false, until: (K, V) ⇒ Boolean = (_: K, _: V) => true)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V]) extends Iterable[(K, V)] with Product with Serializable
-
case class
From[K](key: K, orAfter: Boolean, orBefore: Boolean, before: Boolean, after: Boolean) extends Product with Serializable
-
case class
KeysIterator[K](api: SwayDBAPI, from: Option[From[K]], reverse: Boolean = false, until: (K) ⇒ Boolean = (_: K) => true)(implicit serializer: Serializer[K]) extends Iterable[K] with Product with Serializable
Implements APIs for databases iteration.
Documentation on iteration API - http://www.swaydb.io/#api/iteration-api
This iterator and KeysIterator share a lot of the same code. A higher type is required.