object DataSource

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataSource
  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. def apply[R, A](name: String)(f: (Iterable[A]) => ZIO[R, Nothing, CompletedRequestMap]): DataSource[R, A]

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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[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]

    Constructs a data source from a pure function.

  11. def fromFunctionBatched[A, B](name: String)(f: (Iterable[A]) => Iterable[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.

  12. def fromFunctionBatchedM[R, E, A, B](name: String)(f: (Iterable[A]) => ZIO[R, E, Iterable[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.

  13. def fromFunctionBatchedOption[A, B](name: String)(f: (Iterable[A]) => Iterable[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.

  14. def fromFunctionBatchedOptionM[R, E, A, B](name: String)(f: (Iterable[A]) => ZIO[R, E, Iterable[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.

  15. def fromFunctionBatchedWith[A, B](name: String)(f: (Iterable[A]) => Iterable[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.

  16. def fromFunctionBatchedWithM[R, E, A, B](name: String)(f: (Iterable[A]) => ZIO[R, E, Iterable[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.

  17. def fromFunctionM[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.

  18. 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.

  19. def fromFunctionOptionM[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.

  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped