SQLSupport

lightdb.sql.SQLSupport
trait SQLSupport[D <: Document[D]] extends IndexSupport[D]

Attributes

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

Members list

Type members

Inherited types

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

Attributes

Inherited from:
DocumentModel

Value members

Abstract methods

protected def createConnection(): Connection

Concrete methods

def columns(connection: Connection): Set[String]
protected def data(rs: ResultSet): SQLData[D]
override def doSearch[V](query: Query[D, V], context: SearchContext[D], offset: Int, limit: Option[Int], after: Option[PagedResults[D, V]]): IO[PagedResults[D, V]]

Attributes

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

Attributes

Definition Classes
IndexSupport
protected def init(c: Connection): Unit
def truncate(): IO[Unit]

Inherited methods

def distanceFilter(field: IndexedField[GeoPoint, D], from: GeoPoint, radius: Length): Filter[D]

Attributes

Inherited from:
IndexSupport
def id(value: String): Id[D]

Attributes

Inherited from:
DocumentModel
def query: Query[D, D]

Attributes

Inherited from:
IndexSupport
override def reIndex(collection: AbstractCollection[D]): IO[Unit]

Attributes

Definition Classes
IndexSupport -> DocumentModel
Inherited from:
IndexSupport
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: SQLIndexer[D]