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 SummaryConstructorsConstructorDescriptionResourceInformationJson(String name, scala.collection.immutable.Seq<String> addresses) 
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
ResourceInformationJson
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2) 
- 
toString
- 
name
- 
addresses
- 
toJValuepublic org.json4s.JValue toJValue()
- 
toResourceInformation
 
-