Packages

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]

    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
    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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromFunction[A, B](name: String)(f: (A) ⇒ B)(implicit ev: <:<[A, Request[Nothing, B]]): DataSource[Any, A]

    Constructs a data source from a pure function.

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

    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.

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

    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.

  12. 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]

    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.

  13. 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]

    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.

  14. 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]

    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.

  15. 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]

    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.

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

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

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

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

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

    Constructs a data source from an effectual function.

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def make[R, A](name: String)(f: (Chunk[Chunk[A]]) ⇒ ZIO[R, Nothing, CompletedRequestMap]): DataSource[R, A]

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

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. val never: DataSource[Any, Any]

    A data source that never executes requests.

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. object Batched

Inherited from AnyRef

Inherited from Any

Ungrouped