lightdb.util

package lightdb.util

Members list

Type members

Classlikes

case class ActionIterator[T](underlying: Iterator[T], onNext: Boolean => Unit, onClose: () => Unit) extends Iterator[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Iterator[T]
trait IterableOnceOps[T, Iterator, Iterator[T]]
trait IterableOnce[T]
class Object
trait Matchable
class Any
Show all
object Aggregator

Convenience class to stream aggregation for Stores that don't directly support aggregation

Convenience class to stream aggregation for Stores that don't directly support aggregation

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Aggregator.type
class AtomicList[T](comparator: Option[Comparator[T]])

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Disposable

Provides simple disposal support to avoid dispose being invoked more than one. FlatMap on dispose to safely guarantee disposal was successful.

Provides simple disposal support to avoid dispose being invoked more than one. FlatMap on dispose to safely guarantee disposal was successful.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Store[Doc, Model]
class HashMapStore[Doc, Model]
class Collection[Doc, Model]
class SplitCollection[Doc, Model, Storage, Searching]
trait PrefixScanningStore[Doc, Model]
trait LightDB
Show all
final class ElasticHashMap[K, +V] extends Map[K, V]

Based on the Elastic Hash Table defined here: https://github.com/MWARDUNI/ElasticHashing

Based on the Elastic Hash Table defined here: https://github.com/MWARDUNI/ElasticHashing

Attributes

Companion
object
Supertypes
trait Map[K, V]
trait MapOps[K, V, Map, Map[K, V]]
trait Map[K, V]
trait Equals
trait MapFactoryDefaults[K, V, Map, Iterable]
trait MapOps[K, V, Map, Map[K, V]]
trait PartialFunction[K, V]
trait K => V
trait Iterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), Iterable]
trait IterableOps[(K, V), Iterable, Map[K, V]]
trait IterableOnceOps[(K, V), Iterable, Map[K, V]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Provides simple initialization support to avoid initialization being invoked more than once. FlatMap on init to safely guarantee initialization was successful.

Provides simple initialization support to avoid initialization being invoked more than once. FlatMap on init to safely guarantee initialization was successful.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Store[Doc, Model]
class HashMapStore[Doc, Model]
class Collection[Doc, Model]
class SplitCollection[Doc, Model, Storage, Searching]
trait PrefixScanningStore[Doc, Model]
trait LightDB
Show all
final case class IteratorExtras[T](iterator: Iterator[T]) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Nowish

Always returns an incremented timestamp. If called multiple times within the same millisecond, the returned value will be incremented to always be unique.

Always returns an incremented timestamp. If called multiple times within the same millisecond, the returned value will be incremented to always be unique.

“Precision isn't always the goal. Uniqueness is, and good enough now is better than fighting the clock.”

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Nowish.type