Packages

c

org.apache.spark.partial

PartialResult

class PartialResult[R] extends AnyRef

Source
PartialResult.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialResult
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartialResult(initialVal: R, isFinal: Boolean)

Value Members

  1. def getFinalValue(): R

    Blocking method to wait for and return the final value.

  2. def initialValue: R
  3. def isInitialValueFinal: Boolean
  4. def map[T](f: (R) ⇒ T): PartialResult[T]

    Transform this PartialResult into a PartialResult of type T.

  5. def onComplete(handler: (R) ⇒ Unit): PartialResult[R]

    Set a handler to be called when this PartialResult completes.

    Set a handler to be called when this PartialResult completes. Only one completion handler is supported per PartialResult.

  6. def onFail(handler: (Exception) ⇒ Unit): Unit

    Set a handler to be called if this PartialResult's job fails.

    Set a handler to be called if this PartialResult's job fails. Only one failure handler is supported per PartialResult.

  7. def toString(): String
    Definition Classes
    PartialResult → AnyRef → Any