Package org.apache.spark.resource
Class ResourceInformationJson
Object
org.apache.spark.resource.ResourceInformationJson
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
A case class to simplify JSON serialization of
ResourceInformation
.- See Also:
-
Constructor Summary
ConstructorDescriptionResourceInformationJson
(String name, scala.collection.immutable.Seq<String> addresses) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ResourceInformationJson
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
name
-
addresses
-
toJValue
public org.json4s.JValue toJValue() -
toResourceInformation
-