PostgreSQLTransaction

lightdb.postgresql.PostgreSQLTransaction
case class PostgreSQLTransaction[Doc <: Document[Doc], Model <: DocumentModel[Doc]](store: PostgreSQLStore[Doc, Model], state: SQLState[Doc, Model], parent: Option[Transaction[Doc, Model]]) extends SQLStoreTransaction[Doc, Model]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SQLStoreTransaction[Doc, Model]
trait CollectionTransaction[Doc, Model]
trait Transaction[Doc, Model]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override protected def _close: Task[Unit]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _commit: Task[Unit]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _count: Task[Int]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _delete[V](index: UniqueIndex[Doc, V], value: V): Task[Boolean]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _exists(id: Id[Doc]): Task[Boolean]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _get[V](index: UniqueIndex[Doc, V], value: V): Task[Option[Doc]]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _insert(doc: Doc): Task[Doc]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _rollback: Task[Unit]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override protected def _upsert(doc: Doc): Task[Doc]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
override def aggregate(query: AggregateQuery[Doc, Model]): Stream[MaterializedAggregate[Doc, Model]]

Attributes

Definition Classes
SQLStoreTransaction -> CollectionTransaction
Inherited from:
SQLStoreTransaction
override def aggregateCount(query: AggregateQuery[Doc, Model]): Task[Int]

Attributes

Definition Classes
SQLStoreTransaction -> CollectionTransaction
Inherited from:
SQLStoreTransaction
def apply[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Doc]

Attributes

Inherited from:
Transaction
def apply(id: Id[Doc]): Task[Doc]

Attributes

Inherited from:
Transaction
final def close: Task[Unit]

Attributes

Inherited from:
Transaction
final def commit: Task[Unit]

Attributes

Inherited from:
Transaction
protected def concatPrefix: String

Attributes

Inherited from:
SQLStoreTransaction
final def count: Task[Int]

Attributes

Inherited from:
Transaction
def delete(id: Id[Doc]): Task[Boolean]

Attributes

Inherited from:
Transaction
final def delete[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Boolean]

Attributes

Inherited from:
Transaction
protected def distanceFilter(f: Distance[Doc]): SQLPart

Attributes

Inherited from:
SQLStoreTransaction
override def doSearch[V](query: Query[Doc, Model, V]): Task[SearchResults[Doc, Model, V]]

Attributes

Definition Classes
SQLStoreTransaction -> CollectionTransaction
Inherited from:
SQLStoreTransaction
final def exists(id: Id[Doc]): Task[Boolean]

Attributes

Inherited from:
Transaction
protected def extraFieldsForDistance(conversion: Distance[Doc, _]): List[SQLPart]

Attributes

Inherited from:
SQLStoreTransaction
protected def fieldPart[V](field: Field[Doc, V]): SQLPart

Attributes

Inherited from:
SQLStoreTransaction
protected def fromString(string: String): Doc

Attributes

Inherited from:
Transaction
def get(id: Id[Doc]): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
def get[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
def getAll(ids: Seq[Id[Doc]]): Stream[Doc]

Attributes

Inherited from:
Transaction
def getOrCreate(id: Id[Doc], create: => Doc, establishLock: Boolean): Task[Doc]

Attributes

Inherited from:
Transaction
def insert(docs: Seq[Doc]): Task[Seq[Doc]]

Attributes

Inherited from:
Transaction
final def insert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction
override def jsonStream: Stream[Json]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
def list: Task[List[Doc]]

Attributes

Inherited from:
Transaction
def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: Forge[Option[Doc], Option[Doc]]): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def rollback: Task[Unit]

Attributes

Inherited from:
Transaction
protected def sortByDistance[G <: Geo](field: Field[_, List[G]], direction: SortDirection): SQLPart

Attributes

Inherited from:
SQLStoreTransaction
def stream: Stream[Doc]

Attributes

Inherited from:
Transaction
protected def toJson(value: Any, rw: RW[_]): Json

Attributes

Inherited from:
SQLStoreTransaction
protected def toJson(string: String): Json

Attributes

Inherited from:
Transaction
protected def toString(doc: Doc): String

Attributes

Inherited from:
Transaction
override def truncate: Task[Int]

Attributes

Definition Classes
SQLStoreTransaction -> Transaction
Inherited from:
SQLStoreTransaction
def upsert(docs: Seq[Doc]): Task[Seq[Doc]]

Attributes

Inherited from:
Transaction
final def upsert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction

Inherited fields

lazy val query: Query[Doc, Model, Doc]

Attributes

Inherited from:
CollectionTransaction