case class SparkPod(pod: Pod, container: Container) extends Product with Serializable
:: DeveloperApi ::
Represents a SparkPod consisting of pod and the container within the pod.
- Annotations
- @Unstable() @DeveloperApi()
- Alphabetic
- By Inheritance
- SparkPod
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SparkPod(pod: Pod, container: Container)
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()
- val container: Container
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
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()
- val pod: Pod
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
transform(fn: PartialFunction[SparkPod, SparkPod]): SparkPod
Convenience method to apply a series of chained transformations to a pod.
Convenience method to apply a series of chained transformations to a pod.
Use it like:
original.modify { case pod => // update pod and return new one }.modify { case pod => // more changes that create a new pod }.modify { case pod if someCondition => // new pod }
This makes it cleaner to apply multiple transformations, avoiding having to create a bunch of awkwardly-named local variables. Since the argument is a partial function, it can do matching without needing to exhaust all the possibilities. If the function is not applied, then the original pod will be kept.
-
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()