Class

org.apache.spark.ml.param

MapParam

Related Doc: package param

Permalink

class MapParam[K, V] extends Param[Map[K, V]] with CollectionFormats

Param for Map of String to Seq of String.

Linear Supertypes
CollectionFormats, Param[Map[K, V]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapParam
  2. CollectionFormats
  3. Param
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapParam(parent: Params, name: String, doc: String)(implicit fk: JsonFormat[K], fv: JsonFormat[V])

    Permalink
  2. new MapParam(parent: Params, name: String, doc: String, isValid: (Map[K, V]) ⇒ Boolean)(implicit fk: JsonFormat[K], fv: JsonFormat[V])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->(value: Map[K, V]): ParamPair[Map[K, V]]

    Permalink
    Definition Classes
    Param
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. implicit def arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray }

    Permalink
    Definition Classes
    CollectionFormats
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val doc: String

    Permalink
    Definition Classes
    Param
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. final def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Param → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. implicit val fk: JsonFormat[K]

    Permalink
  13. implicit val fv: JsonFormat[V]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def hashCode(): Int

    Permalink
    Definition Classes
    Param → AnyRef → Any
  16. implicit def immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  17. implicit def immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]

    Permalink
    Definition Classes
    CollectionFormats
  18. implicit def immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  19. implicit def immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  20. implicit def immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]

    Permalink
    Definition Classes
    CollectionFormats
  21. implicit def indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val isValid: (Map[K, V]) ⇒ Boolean

    Permalink
    Definition Classes
    Param
  24. implicit def iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]

    Permalink
    Definition Classes
    CollectionFormats
  25. def jsonDecode(json: String): Map[K, V]

    Permalink
    Definition Classes
    MapParam → Param
  26. def jsonEncode(value: Map[K, V]): String

    Permalink
    Definition Classes
    MapParam → Param
  27. implicit def linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  28. implicit def listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray }

    Permalink
    Definition Classes
    CollectionFormats
  29. implicit def mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject }

    Permalink
    Definition Classes
    CollectionFormats
  30. val name: String

    Permalink
    Definition Classes
    Param
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. val parent: String

    Permalink
    Definition Classes
    Param
  35. implicit def seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  36. implicit def setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]

    Permalink
    Definition Classes
    CollectionFormats
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. final def toString(): String

    Permalink
    Definition Classes
    Param → AnyRef → Any
  39. implicit def vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]]

    Permalink
    Definition Classes
    CollectionFormats
  40. def viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I]

    Permalink
    Definition Classes
    CollectionFormats
  41. def w(value: HashMap[K, V]): ParamPair[Map[K, V]]

    Permalink

    Creates a param pair with the given value (for Java).

  42. def w(value: Map[K, V]): ParamPair[Map[K, V]]

    Permalink
    Definition Classes
    Param
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CollectionFormats

Inherited from Param[Map[K, V]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped