SQLStore
lightdb.sql.SQLStore
abstract class SQLStore[Doc <: Document[Doc], Model <: DocumentModel[Doc]](name: String, model: Model) extends Store[Doc, Model]
Attributes
- Graph
-
- Supertypes
-
class Store[Doc, Model]trait Disposableclass Objecttrait Matchableclass Any
Members list
Type members
Inherited classlikes
object transaction
Attributes
- Inherited from:
- Store
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Concrete methods
override def aggregate(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Stream[MaterializedAggregate[Doc, Model]]
Attributes
- Definition Classes
-
Store
override def aggregateCount(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Task[Int]
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
override def delete[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Boolean]
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Disposable
override def doSearch[V](query: Query[Doc, Model, V])(implicit transaction: Transaction[Doc]): Task[SearchResults[Doc, Model, V]]
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
override def get[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Inherited methods
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Disposable
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
Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.
Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Inherited and Abstract methods
Attributes
- Inherited from:
- Store
Inherited fields
Calls doDispose() exactly one time. Safe to call multiple times.
Calls doDispose() exactly one time. Safe to call multiple times.
Attributes
- Inherited from:
- Disposable
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
In this article