Object/Class

zio.query

ZQuery

Related Docs: class ZQuery | package query

Permalink

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 ProvideSomeLayer[R0 <: Has[_], -R, +E, +A] extends AnyVal

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def collectAll[R, E, A](as: Iterable[ZQuery[R, E, A]]): ZQuery[R, E, List[A]]

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

    Constructs a query that dies with the specified error.

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

    Permalink

    Accesses the whole environment of the query.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def fail[E](error: ⇒ E): ZQuery[Any, E, Nothing]

    Permalink

    Constructs a query that fails with the specified error.

  13. def finalize(): Unit

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

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

    Constructs a query from an effect.

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

    Permalink

    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.

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

    Permalink

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

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def halt[E](cause: ⇒ Cause[E]): ZQuery[Any, E, Nothing]

    Permalink

    Constructs a query that fails with the specified cause.

  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. val never: ZQuery[Any, Nothing, Nothing]

    Permalink

    Constructs a query that never completes.

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

    Permalink

    Constructs a query that succeds with the empty value.

  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. 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])]

    Permalink

    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.

  29. 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])]

    Permalink

    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.

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

    Permalink

    Constructs a query that succeeds with the optional value.

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

    Permalink

    Constructs a query that succeeds with the specified value.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped