InMemoryIndexes

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

Attributes

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

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
override def init(collection: Collection[Doc, Model]): Unit

Attributes

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

Inherited methods

final def createTransaction(): Transaction[Doc]

Attributes

Inherited from:
Store
def reIndex(): Boolean

Attributes

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

Attributes

Inherited from:
Store
def verify(): Boolean

Attributes

Inherited from:
Store

Inherited and Abstract methods

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Store
def dispose(): Unit

Attributes

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

Attributes

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

Attributes

Inherited from:
Store
def iterator(implicit transaction: Transaction[Doc]): Iterator[Doc]

Attributes

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

Attributes

Inherited from:
Store

Attributes

Inherited from:
Store

Inherited fields

lazy val hasSpatial: Boolean

Attributes

Inherited from:
Store