io.getclump

Clump

sealed trait Clump[+T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Clump
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def result(implicit ec: ExecutionContext): Future[Option[T]]

    Attributes
    protected[io.getclump]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply()(implicit ec: ExecutionContext): Future[T]

    A utility method for automatically unwrapping the underlying value

    A utility method for automatically unwrapping the underlying value

    Exceptions thrown
    NoSuchElementException

    if the underlying value is not defined

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def downstream(implicit ec: ExecutionContext): Future[Option[Clump[_]]]

    Attributes
    protected[io.getclump]
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def fallback[B >: T](default: ⇒ Option[B]): Clump[B]

    On any exception, fallback to a default value

  13. def fallbackTo[B >: T](default: ⇒ Clump[B]): Clump[B]

    On any exception, fallback to a default clump

  14. def filter[B >: T](f: (B) ⇒ Boolean): Clump[B]

    Apply a filter to this clump so that the result will only be defined if the predicate function returns true

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flatMap[U](f: (T) ⇒ Clump[U]): Clump[U]

    Create a new clump by applying a function that returns a clump to the result of this clump

  17. def get(implicit ec: ExecutionContext): Future[Option[T]]

    Trigger execution of a clump.

    Trigger execution of a clump. The result will not be defined if any of the clump sources returned less elements than requested.

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

    Definition Classes
    AnyRef → Any
  19. def getOrElse[B >: T](default: ⇒ B)(implicit ec: ExecutionContext): Future[B]

    Get the result of the clump or provide a fallback value in the case where the result is not defined

  20. def handle[B >: T](f: PartialFunction[Throwable, Option[B]]): Clump[B]

    Define a fallback value to use in the case of specified exceptions

  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. def join[U](other: Clump[U]): Clump[(T, U)]

    Join this clump to another clump so that the result is a clump holding a pair of values

  24. def list[B >: T](implicit cbf: CanBuildFrom[Nothing, Nothing, B], ec: ExecutionContext): Future[B]

    If the underlying value is a list, then this will return Nil instead of None when the result is not defined

  25. def map[U](f: (T) ⇒ U): Clump[U]

    Create a new clump by applying a function to the result of this clump

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

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def optional: Clump[Option[T]]

    Mark a clump as optional so that its underlying value is an option to avoid lossy joins

  30. def orElse[B >: T](default: ⇒ Clump[B]): Clump[B]

    If this clump does not return a value then use the value from a default clump instead

  31. def orElse[B >: T](default: ⇒ B)(implicit arg0: ClassTag[B]): Clump[B]

    If this clump does not return a value then use the default instead

  32. def recover[B >: T](f: PartialFunction[Throwable, Option[B]]): Clump[B]

    Alias for handle

  33. def recoverWith[B >: T](f: PartialFunction[Throwable, Clump[B]]): Clump[B]

    Alias for rescue

  34. def rescue[B >: T](f: PartialFunction[Throwable, Clump[B]]): Clump[B]

    Define a fallback clump to use in the case of specified exceptions

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

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def upstream: List[Clump[_]]

    Attributes
    protected[io.getclump]
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withFilter[B >: T](f: (B) ⇒ Boolean): Clump[B]

    Alias for filter used by for-comprehensions

Inherited from AnyRef

Inherited from Any

Ungrouped