Trait

io.radanalytics.silex.app

AppCommon

Related Doc: package app

Permalink

trait AppCommon extends AnyRef

Base trait for data-processing applications.

Contains references to Spark and SQL contexts, a basic configuration, and callback interfaces for app configuration and cleanup.

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

Abstract Value Members

  1. abstract def appMain(args: Array[String]): Unit

    Permalink

    Override this to provide a main method for your app.

    Override this to provide a main method for your app.

  2. abstract def appName: String

    Permalink

    A method that returns your application's name

Concrete 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 addConfig(xform: (SparkConf) ⇒ SparkConf): Unit

    Permalink

    Adds Spark configuration (in the form of a function that takes a SparkConf and returns a new SparkConf.)

    Adds Spark configuration (in the form of a function that takes a SparkConf and returns a new SparkConf.)

    These are executed in the order that they are added.

  5. def addExitHook(thunk: ⇒ Unit): Unit

    Permalink

    Adds a thunk to be run when your application exits.

    Adds a thunk to be run when your application exits.

    These are executed in the order that they are added.

  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. def context: SparkContext

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def isFunctionRegistered(fun: String): Boolean

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def main(args: Array[String]): Unit

    Permalink

    The main method for your application.

    The main method for your application. Do not override this; override AppCommon.appMain instead

  17. def master: String

    Permalink

    The Spark master URL.

    The Spark master URL.

    This defaults to the value set in SPARK_MASTER in the environment or local[*]. The spark.master property will take precedence over this.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def registerUnaryFunction[A, B](fn: String, fb: (A) ⇒ B)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: scala.reflect.api.JavaUniverse.TypeTag[B]): Unit

    Permalink

    Registers a function with the given name.

    Registers a function with the given name.

    Subsequent attempts to register a function with the same name will have no effect.

  22. def spark: SparkSession

    Permalink
  23. def sqlContext: SQLContext

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped