Packages

object ZQuery

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AccessMPartiallyApplied[R] extends AnyVal
  2. final class AccessPartiallyApplied[R] extends AnyVal
  3. final class ProvideSomeLayer[R0 <: Has[_], -R, +E, +A] extends AnyVal

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def access[R]: AccessPartiallyApplied[R]

    Accesses the environment of the effect.

    Accesses the environment of the effect.

    val portNumber = effect.access(_.config.portNumber)
  5. final def accessM[R]: AccessMPartiallyApplied[R]

    Effectfully accesses the environment of the effect.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def collectAll[R, E, A](as: Iterable[ZQuery[R, E, A]]): ZQuery[R, E, List[A]]

    Collects a collection of queries into a query returning a collection of their results.

    Collects a collection of queries into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.

  9. def collectAllPar[R, E, A](as: Iterable[ZQuery[R, E, A]]): ZQuery[R, E, List[A]]

    Collects a collection of queries into a query returning a collection of their results.

    Collects a collection of queries into a query returning a collection of their results. Requests will be executed in parallel and will be batched.

  10. def die(t: ⇒ Throwable): ZQuery[Any, Nothing, Nothing]

    Constructs a query that dies with the specified error.

  11. def environment[R]: ZQuery[R, Nothing, R]

    Accesses the whole environment of the query.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def fail[E](error: ⇒ E): ZQuery[Any, E, Nothing]

    Constructs a query that fails with the specified error.

  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def foreach[R, E, A, B](as: Iterable[A])(f: (A) ⇒ ZQuery[R, E, B]): ZQuery[R, E, List[B]]

    Performs a query for each element in a collection, collecting the results into a query returning a collection of their results.

    Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed sequentially and will be pipelined.

  17. def foreachPar[R, E, A, B](as: Iterable[A])(f: (A) ⇒ ZQuery[R, E, B]): ZQuery[R, E, List[B]]

    Performs a query for each element in a collection, collecting the results into a query returning a collection of their results.

    Performs a query for each element in a collection, collecting the results into a query returning a collection of their results. Requests will be executed in parallel and will be batched.

  18. def fromEffect[R, E, A](effect: ZIO[R, E, A]): ZQuery[R, E, A]

    Constructs a query from an effect.

  19. def fromRequest[R, E, A, B](request: A)(dataSource: DataSource[R, A])(implicit ev: <:<[A, Request[E, B]]): ZQuery[R, E, B]

    Constructs a query from a request and a data source.

    Constructs a query from a request and a data source. Queries will die with a QueryFailure when run if the data source does not provide results for all requests received. Queries must be constructed with fromRequest or one of its variants for optimizations to be applied.

  20. def fromRequestUncached[R, E, A, B](request: A)(dataSource: DataSource[R, A])(implicit ev: <:<[A, Request[E, B]]): ZQuery[R, E, B]

    Constructs a query from a request and a data source but does not apply caching to the query.

  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def halt[E](cause: ⇒ Cause[E]): ZQuery[Any, E, Nothing]

    Constructs a query that fails with the specified cause.

  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. val never: ZQuery[Any, Nothing, Nothing]

    Constructs a query that never completes.

  27. val none: ZQuery[Any, Nothing, Option[Nothing]]

    Constructs a query that succeds with the empty value.

  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def partitionM[R, E, A, B](as: Iterable[A])(f: (A) ⇒ ZQuery[R, E, B])(implicit ev: CanFail[E]): ZQuery[R, Nothing, (List[E], List[B])]

    Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results.

    Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed sequentially and will be pipelined.

  31. def partitionMPar[R, E, A, B](as: Iterable[A])(f: (A) ⇒ ZQuery[R, E, B])(implicit ev: CanFail[E]): ZQuery[R, Nothing, (List[E], List[B])]

    Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results.

    Performs a query for each element in a collection, collecting the results into a collection of failed results and a collection of successful results. Requests will be executed in parallel and will be batched.

  32. def some[A](a: ⇒ A): ZQuery[Any, Nothing, Option[A]]

    Constructs a query that succeeds with the optional value.

  33. def succeed[A](value: ⇒ A): ZQuery[Any, Nothing, A]

    Constructs a query that succeeds with the specified value.

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped