SQLStore
lightdb.sql.SQLStore
abstract class SQLStore[Doc <: Document[Doc], Model <: DocumentModel[Doc]](name: String, path: Option[Path], model: Model, lightDB: LightDB, storeManager: StoreManager) extends Collection[Doc, Model]
Attributes
- Graph
-
- Supertypes
-
class Collection[Doc, Model]class Store[Doc, Model]trait Disposabletrait Initializableclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
object transaction
Attributes
- Inherited from:
- Store
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Concrete methods
override protected def _delete[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Boolean]
Attributes
- Definition Classes
-
Store
override protected 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
override def aggregate(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Stream[MaterializedAggregate[Doc, Model]]
Attributes
- Definition Classes
-
Collection
override def aggregateCount(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Task[Int]
Attributes
- Definition Classes
-
Collection
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store -> Disposable
override def doSearch[V](query: Query[Doc, Model, V])(implicit transaction: Transaction[Doc]): Task[SearchResults[Doc, Model, V]]
Attributes
- Definition Classes
-
Collection
Attributes
- Definition Classes
-
Store
Define initialization functionality here, but never call directly.
Define initialization functionality here, but never call directly.
Attributes
- Definition Classes
-
Store -> Initializable
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
def apply[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Doc]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def delete[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Boolean]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def get[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def getOrCreate(id: Id[Doc], create: => Doc, establishLock: Boolean)(implicit transaction: Transaction[Doc]): Task[Doc]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Disposable
Attributes
- Inherited from:
- Initializable
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
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
Calls initialize() exactly one time. Safe to call multiple times.
Calls initialize() exactly one time. Safe to call multiple times.
Attributes
- Inherited from:
- Initializable
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Collection
Attributes
- Inherited from:
- Store
In this article