Object

com.coxautodata.waimak.configuration

CaseClassConfigParser

Related Doc: package configuration

Permalink

object CaseClassConfigParser

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseClassConfigParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class separator(s: String) extends Annotation with StaticAnnotation with Product with Serializable

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](conf: SparkConf, prefix: String, properties: Option[Properties] = None)(implicit t: ClassTag[A]): A

    Permalink

    Populate a Case Class from an instance of SparkConf.

    Populate a Case Class from an instance of SparkConf. It will attempt to cast the configuration values to the correct types, and most primitive, Option[primitive], and List/Seq/Vector[primitive] types are supported. Default arguments in the case class will also be respected. Option types will not be set to None if they are not specified in the SparkConf unless None is the default value in the case class. The separator for collection types (List,Seq,Vector) is by default "," but can be changed with '@separator("..")' annotation on the parameter in the case class. The parameters keys that are looked up will be of the form: {prefix}{parameter}, e.g. for case class Ex(key: String) and prefix="example.prefix.", then the key will have the form "example.prefix.key"

    A

    Case class type to construct

    conf

    Instance of SparkConf containing KeyValue configuration

    prefix

    Prefix to assign to a Key when looking in SparkConf

    returns

    An instantiated case class populated from the SparkConf instance and default arguments

    Annotations
    @throws( classOf[NoSuchElementException] ) @throws( ... ) @throws( classOf[NumberFormatException] ) @throws( classOf[IllegalArgumentException] )
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromMap[A](conf: Map[String, String], prefix: String = "", properties: Option[Properties] = None)(implicit t: ClassTag[A]): A

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped