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 downstream: Future[List[Clump[_]]]

    Attributes
    protected[io.getclump]
  2. abstract def result: Future[Option[T]]

    Attributes
    protected[io.getclump]
  3. abstract def upstream: List[Clump[_]]

    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(): 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. final def eq(arg0: AnyRef): Boolean

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

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

    On any exception, fallback to a default value

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

    On any exception, fallback to a default clump

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

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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

  16. def get: 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.

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

    Definition Classes
    AnyRef → Any
  18. def getOrElse[B >: T](default: ⇒ B): Future[B]

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

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

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

  20. def hashCode(): Int

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

    Definition Classes
    Any
  22. 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

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

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

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

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

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

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

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

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

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

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

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

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

    Alias for handle

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

    Alias for rescue

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

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

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

    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

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

    Alias for filter used by for-comprehensions

Inherited from AnyRef

Inherited from Any

Ungrouped