implicit class RemoveTryWrapper[U, V] extends AnyRef
Adds method for converting RDD[(U, Try[V])] to RDD[(U, V)].
- Alphabetic
- By Inheritance
- RemoveTryWrapper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RemoveTryWrapper(rdd: RDD[(U, Try[V])])(implicit arg0: ClassTag[U], arg1: ClassTag[V])
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()
-
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()
-
def
removeTry(collectStageErrors: Boolean): RDD[(U, V)]
Converts an RDD[(U, Try[V])] to RDD[(U, V)].
Converts an RDD[(U, Try[V])] to RDD[(U, V)]. The handling of Failure depends on the
collectStageErrors
parameter- collectStageErrors
If true, all exceptions wrapped in Failures are collected in the driver and the ExceptionContainer that contains those exceptions is rethrown in the driver. In this case, the RDD is persisted and a Spark job is scheduled to evaluate the Failures. If false, the function throws on the first Failure encountered when the pipeline is run by a later Spark action. Note that throwing an exception happens in a worker code.
-
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()