InMemoryIndexes

lightdb.store.InMemoryIndexes
trait InMemoryIndexes[Doc <: Document[Doc], Model <: DocumentModel[Doc]] extends Store[Doc, Model]

Attributes

Graph
Supertypes
class Store[Doc, Model]
trait Disposable
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object transaction

Attributes

Inherited from:
Store
Supertypes
class Object
trait Matchable
class Any
object trigger extends CollectionTriggers[Doc]

Attributes

Inherited from:
Store
Supertypes
class CollectionTriggers[Doc]
trait CollectionTrigger[Doc]
class Object
trait Matchable
class Any

Value members

Concrete methods

def delete[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Boolean]
override def doSearch[V](query: Query[Doc, Model, V])(implicit transaction: Transaction[Doc]): Task[SearchResults[Doc, Model, V]]

Attributes

Definition Classes
def insert(doc: Doc)(implicit transaction: Transaction[Doc]): Task[Doc]
def truncate()(implicit transaction: Transaction[Doc]): Task[Int]
def upsert(doc: Doc)(implicit transaction: Transaction[Doc]): Task[Doc]

Inherited methods

def apply(id: Id[Doc])(implicit transaction: Transaction[Doc]): Task[Doc]

Attributes

Inherited from:
Store
def isDisposes: Boolean

Attributes

Inherited from:
Disposable
def jsonStream(implicit transaction: Transaction[Doc]): Stream[Json]

Attributes

Inherited from:
Store
def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: Forge[Option[Doc], Option[Doc]])(implicit transaction: Transaction[Doc]): Task[Option[Doc]]

Attributes

Inherited from:
Store
def reIndex(): Task[Boolean]

Attributes

Inherited from:
Store
def releaseTransaction(transaction: Transaction[Doc]): Task[Unit]

Attributes

Inherited from:
Store
def verify(): Task[Boolean]

Attributes

Inherited from:
Store

Inherited and Abstract methods

def aggregate(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Stream[MaterializedAggregate[Doc, Model]]

Attributes

Inherited from:
Store
def aggregateCount(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Task[Int]

Attributes

Inherited from:
Store
def count(implicit transaction: Transaction[Doc]): Task[Int]

Attributes

Inherited from:
Store
protected def doDispose(): Task[Unit]

Attributes

Inherited from:
Disposable
def exists(id: Id[Doc])(implicit transaction: Transaction[Doc]): Task[Boolean]

Attributes

Inherited from:
Store
def get[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Option[Doc]]

Attributes

Inherited from:
Store
def prepareTransaction(transaction: Transaction[Doc]): Task[Unit]

Attributes

Inherited from:
Store
def storeMode: StoreMode[Doc, Model]

Attributes

Inherited from:
Store
def stream(implicit transaction: Transaction[Doc]): Stream[Doc]

Attributes

Inherited from:
Store

Inherited fields

lazy val dispose: Task[Unit]

Calls doDispose() exactly one time. Safe to call multiple times.

Calls doDispose() exactly one time. Safe to call multiple times.

Attributes

Inherited from:
Disposable
lazy val hasSpatial: Task[Boolean]

Attributes

Inherited from:
Store
lazy val idField: UniqueIndex[Doc, Id[Doc]]

Attributes

Inherited from:
Store
lazy val lock: LockManager[Id[Doc], Doc]

Attributes

Inherited from:
Store
val name: String

Attributes

Inherited from:
Store