Packages

implicit class Describer[T] extends AnyRef

Adds helper methods to set description for RDDs and jobs.

T

the type of the RDD being augmented

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

Instance Constructors

  1. new Describer(rdd: RDD[T])

    rdd

    the RDD to augment

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. def desc(text: String): RDD[T]

    Adds a description to the RDD that is clearly visible in Spark UI and in Spark logs, mainly for debugging purposes.

    Adds a description to the RDD that is clearly visible in Spark UI and in Spark logs, mainly for debugging purposes.

    text

    the textual description that should be added

    returns

    the RDD passed in the constructor, augmented with the description

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. def withJobDesc[U](text: String)(action: (RDD[T]) ⇒ U): U

    Runs an action on the RDD, setting the job description to the to the specified value before running the code and resetting it to a default value when complete.

    Runs an action on the RDD, setting the job description to the to the specified value before running the code and resetting it to a default value when complete. Eventual exceptions thrown by action are propagated untouched.

    text

    the textual job description that should be set

    returns

    the result of the action

Inherited from AnyRef

Inherited from Any

Ungrouped