implicit class Describer[T] extends AnyRef
Adds helper methods to set description for RDDs and jobs.
- T
the type of the RDD being augmented
- Alphabetic
- By Inheritance
- Describer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Describer(rdd: RDD[T])
- rdd
the RDD to augment
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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