com.twitter.scalding

JobTest

class JobTest extends AnyRef

This class is used to construct unit tests for scalding jobs. You should not use it unless you are writing tests. For examples of how to do that, see the tests included in the main scalding repository: https://github.com/twitter/scalding/tree/master/scalding-core/src/test/scala/com/twitter/scalding

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JobTest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobTest(cons: (Args) ⇒ Job)

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 arg(inArg: String, value: String): JobTest

  7. def arg(inArg: String, value: List[String]): JobTest

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def counter(counter: String, group: String = Stats.ScaldingGroup)(op: (Long) ⇒ Unit): JobTest

  11. def counters(op: (Map[String, Long]) ⇒ Unit): JobTest

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def finish(): Unit

  16. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  18. def ifSource[T](fn: PartialFunction[Source, Iterable[T]])(implicit setter: TupleSetter[T]): JobTest

    Enables syntax like: .

    Enables syntax like: .ifSource { case Tsv("in") => List(1, 2, 3) } We need a different function name from source to help the compiler

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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 registerFile(filename: String): JobTest

  24. def run: JobTest

  25. def runHadoop: JobTest

  26. def runHadoopWithConf(conf: JobConf): JobTest

  27. def runWithoutNext(useHadoop: Boolean = false): JobTest

  28. def sink[A](s: Source)(op: (Buffer[A]) ⇒ Unit)(implicit conv: TupleConverter[A]): JobTest

    Annotations
    @SuppressWarnings()
  29. def source[T](s: Source, iTuple: Iterable[T])(implicit setter: TupleSetter[T]): JobTest

  30. def source[T](fn: (Source) ⇒ Option[Iterable[T]])(implicit setter: TupleSetter[T]): JobTest

    Add a function to produce a mock when a certain source is requested

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

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def typedSink[A](s: Source with TypedSink[A])(op: (Buffer[A]) ⇒ Unit)(implicit conv: TupleConverter[A]): JobTest

  34. def validate(v: Boolean): JobTest

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped