SQLiteSupport

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

Attributes

Graph
Supertypes
trait IndexSupport[D]
class Collection[D]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

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

Attributes

Inherited from:
Collection

Value members

Concrete methods

override def commit(): IO[Unit]

Attributes

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

Attributes

Definition Classes
Collection
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:
Collection
def delete(id: Id[D]): IO[Option[D]]

Attributes

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

Attributes

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

Attributes

Inherited from:
Collection
def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]]): IO[Option[D]]

Attributes

Inherited from:
Collection
override protected def postDelete(doc: D): IO[Unit]

Attributes

Definition Classes
IndexSupport -> Collection
Inherited from:
IndexSupport
override protected def postSet(doc: D): IO[Unit]

Called after set

Called after set

Attributes

Definition Classes
IndexSupport -> Collection
Inherited from:
IndexSupport
def set(doc: D): IO[D]

Attributes

Inherited from:
Collection
def size: IO[Int]

Attributes

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

Attributes

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

Attributes

Inherited from:
Collection
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 autoCommit: Boolean

Attributes

Inherited from:
Collection
val collectionName: String

Attributes

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

Attributes

Inherited from:
IndexSupport

Implicits

Inherited and Abstract implicits

implicit val rw: RW[D]

Attributes

Inherited from:
Collection