Object/Trait

zio.query

DataSource

Related Docs: trait DataSource | package query

Permalink

object DataSource

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

Type Members

  1. trait Batched[-R, -A] extends DataSource[R, A]

    Permalink

    A data source that executes requests that can be performed in parallel in batches but does not further optimize batches of requests that must be performed sequentially.

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. object Batched

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromFunction[A, B](name: String)(f: (A) ⇒ B)(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Permalink

    Constructs a data source from a pure function.

  11. def fromFunctionBatched[A, B](name: String)(f: (Chunk[A]) ⇒ Chunk[B])(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Permalink

    Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

  12. def fromFunctionBatchedOption[A, B](name: String)(f: (Chunk[A]) ⇒ Chunk[Option[B]])(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Permalink

    Constructs a data source from a pure function that takes a list of requests and returns a list of optional results of the same size.

    Constructs a data source from a pure function that takes a list of requests and returns a list of optional results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

  13. def fromFunctionBatchedOptionZIO[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[Option[B]]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

  14. def fromFunctionBatchedWith[A, B](name: String)(f: (Chunk[A]) ⇒ Chunk[B], g: (B) ⇒ Request[Nothing, B])(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Permalink

    Constructs a data source from a function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from a function that takes a list of requests and returns a list of results of the same size. Uses the specified function to associate each result with the corresponding effect, allowing the function to return the list of results in a different order than the list of requests.

  15. def fromFunctionBatchedWithZIO[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[B]], g: (B) ⇒ Request[E, B])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Uses the specified function to associate each result with the corresponding effect, allowing the function to return the list of results in a different order than the list of requests.

  16. def fromFunctionBatchedZIO[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[B]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

  17. def fromFunctionOption[A, B](name: String)(f: (A) ⇒ Option[B])(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Permalink

    Constructs a data source from a pure function that may not provide results for all requests received.

  18. def fromFunctionOptionZIO[R, E, A, B](name: String)(f: (A) ⇒ ZIO[R, E, Option[B]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that may not provide results for all requests received.

  19. def fromFunctionZIO[R, E, A, B](name: String)(f: (A) ⇒ ZIO[R, E, B])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function.

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  23. def make[R, A](name: String)(f: (Chunk[Chunk[A]]) ⇒ ZIO[R, Nothing, CompletedRequestMap]): DataSource[R, A]

    Permalink

    Constructs a data source from a function taking a collection of requests and returning a CompletedRequestMap.

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. val never: DataSource[Any, Any]

    Permalink

    A data source that never executes requests.

  26. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def fromFunctionBatchedM[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[B]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.3.0) use fromFunctionBatchedZIO

  2. def fromFunctionBatchedOptionM[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[Option[B]]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of optional results of the same size. Each item in the result list must correspond to the item at the same index in the request list.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.3.0) use fromFunctionBatchedOptionZIO

  3. def fromFunctionBatchedWithM[R, E, A, B](name: String)(f: (Chunk[A]) ⇒ ZIO[R, E, Chunk[B]], g: (B) ⇒ Request[E, B])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.

    Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Uses the specified function to associate each result with the corresponding effect, allowing the function to return the list of results in a different order than the list of requests.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.3.0) use fromFunctionBatchedWithZIO

  4. def fromFunctionM[R, E, A, B](name: String)(f: (A) ⇒ ZIO[R, E, B])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function.

    Constructs a data source from an effectual function.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.3.0) use fromFunctionZIO

  5. def fromFunctionOptionM[R, E, A, B](name: String)(f: (A) ⇒ ZIO[R, E, Option[B]])(implicit ev: <:<[A, Request[E, B]]): DataSource[R, A]

    Permalink

    Constructs a data source from an effectual function that may not provide results for all requests received.

    Constructs a data source from an effectual function that may not provide results for all requests received.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.3.0) use fromFunctionOptionZIO

Inherited from AnyRef

Inherited from Any

Ungrouped