SQLiteSupport

lightdb.sqlite.SQLiteSupport
trait SQLiteSupport[D <: Document[D]] extends IndexSupport[D]

Attributes

Graph
Supertypes
trait IndexSupport[D]
class Collection[D]
trait DocumentModel[D]
trait AbstractCollection[D]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type Field[F] = IndexedField[F, D]

Attributes

Inherited from:
DocumentModel

Value members

Concrete methods

override def commit(): IO[Unit]

Attributes

Definition Classes
IndexSupport -> AbstractCollection
protected def data(rs: ResultSet): SQLData[D]
override def dispose(): IO[Unit]

Attributes

Definition Classes
AbstractCollection
override def doSearch(query: Query[D], context: SearchContext[D], offset: Int, after: Option[PagedResults[D]]): IO[PagedResults[D]]

Attributes

Definition Classes
IndexSupport
override protected def indexDoc(doc: D, fields: List[IndexedField[_, D]]): IO[Unit]

Attributes

Definition Classes
IndexSupport

Inherited methods

def apply(id: Id[D]): IO[D]

Attributes

Inherited from:
AbstractCollection
def delete(id: Id[D])(implicit existingLock: DocLock[D]): IO[Option[D]]

Attributes

Inherited from:
AbstractCollection
def get(id: Id[D]): IO[Option[D]]

Attributes

Inherited from:
AbstractCollection
def idStream: Stream[IO, Id[D]]

Attributes

Inherited from:
AbstractCollection
override def model: DocumentModel[D]

Attributes

Definition Classes
Collection -> AbstractCollection
Inherited from:
Collection
def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]])(implicit existingLock: DocLock[D]): IO[Option[D]]

Attributes

Inherited from:
AbstractCollection
override def postDelete(doc: D, collection: AbstractCollection[D]): IO[Unit]

Attributes

Definition Classes
IndexSupport -> DocumentModel
Inherited from:
IndexSupport
override def postSet(doc: D, collection: AbstractCollection[D]): IO[Unit]

Called after set

Called after set

Attributes

Definition Classes
IndexSupport -> DocumentModel
Inherited from:
IndexSupport
def preDelete(id: Id[D], collection: AbstractCollection[D]): IO[Id[D]]

Attributes

Inherited from:
DocumentModel
def preSet(doc: D, collection: AbstractCollection[D]): IO[D]

Called before preSetJson and before the data is set to the database

Called before preSetJson and before the data is set to the database

Attributes

Inherited from:
DocumentModel
def preSetJson(json: Json, collection: AbstractCollection[D]): IO[Json]

Called after preSet and before the data is set to the database

Called after preSet and before the data is set to the database

Attributes

Inherited from:
DocumentModel
def set(doc: D)(implicit existingLock: DocLock[D]): IO[D]

Attributes

Inherited from:
AbstractCollection
def size: IO[Int]

Attributes

Inherited from:
AbstractCollection
def stream: Stream[IO, D]

Attributes

Inherited from:
AbstractCollection
def truncate(): IO[Unit]

Attributes

Inherited from:
AbstractCollection
def withLock[Return](id: Id[D])(f: (DocLock[D]) => IO[Return])(implicit existingLock: DocLock[D]): IO[Return]

Attributes

Inherited from:
AbstractCollection
def withSearchContext[Return](f: (SearchContext[D]) => IO[Return]): IO[Return]

Attributes

Inherited from:
IndexSupport

Concrete fields

val _id: SQLIndexedField[Id[D], D]
lazy override val index: SQLiteIndexer[D]

Inherited fields

val atomic: Boolean

Attributes

Inherited from:
Collection
val autoCommit: Boolean

Attributes

Inherited from:
Collection
val collectionName: String

Attributes

Inherited from:
Collection
lazy val query: Query[D]

Attributes

Inherited from:
IndexSupport
lazy protected val store: Store

Attributes

Inherited from:
AbstractCollection

Implicits

Inherited and Abstract implicits

implicit val rw: RW[D]

Attributes

Inherited from:
DocumentModel