object ZQuery

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

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 asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final 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 not be batched.

  7. final 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. All requests will be batched.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def fail[E](error: E): ZQuery[Any, E, Nothing]

    Constructs a query that fails with the specified error.

  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final 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 not be batched.

  13. final 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. All requests will be batched.

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

    Constructs a query from an effect.

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

    Constructs a query from a request, requiring an environment containing a data source able to execute the request.

    Constructs a query from a request, requiring an environment containing a data source able to execute the request. This is useful to express the dependency on a data source in a more idiomatic style and to defer committing to a particular implementation of the data source too early, allowing, for example, for live and test implementations.

  16. final def fromRequestWith[R, E, A, B](request: A)(dataSource: Service[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 must be constructed with fromRequestWith or combinators derived from it for optimizations to be applied.

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def succeed[A](value: A): ZQuery[Any, Nothing, A]

    Constructs a query that succeeds with the specified value.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped