Class ResourceInformationJson

Object
org.apache.spark.resource.ResourceInformationJson
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class ResourceInformationJson extends Object implements scala.Product, Serializable
A case class to simplify JSON serialization of ResourceInformation.
See Also:
  • Constructor Details

    • ResourceInformationJson

      public ResourceInformationJson(String name, scala.collection.immutable.Seq<String> addresses)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • name

      public String name()
    • addresses

      public scala.collection.immutable.Seq<String> addresses()
    • toJValue

      public org.json4s.JValue toJValue()
    • toResourceInformation

      public ResourceInformation toResourceInformation()