com.redhat.et.silex.app

AppCommon

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

    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

    A method that returns your application's name

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addConfig(xform: (SparkConf) ⇒ SparkConf): Unit

    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.

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

    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.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def context: SparkContext

  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

  17. final def isInstanceOf[T0]: Boolean

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

    The main method for your application.

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

  19. def master: String

    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.

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. 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

    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.

  24. def sqlContext: SQLContext

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped