class
JobTest extends AnyRef
Instance Constructors
-
new
JobTest(cons: (Args) ⇒ Job)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
arg(inArg: String, value: String): JobTest
-
def
arg(inArg: String, value: List[String]): JobTest
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
counter(counter: String, group: String = Stats.ScaldingGroup)(op: (Long) ⇒ Unit): JobTest
-
def
counters(op: (Map[String, Long]) ⇒ Unit): JobTest
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
finish: Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
ifSource[T](fn: PartialFunction[Source, Iterable[T]])(implicit setter: TupleSetter[T]): JobTest
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
registerFile(filename: String): JobTest
-
-
def
runHadoop: JobTest
-
def
runHadoopWithConf(conf: JobConf): JobTest
-
def
runWithoutNext(useHadoop: Boolean = false): JobTest
-
def
sink[A](s: Source)(op: (Buffer[A]) ⇒ Unit)(implicit conv: TupleConverter[A]): JobTest
-
def
source[T](s: Source, iTuple: Iterable[T])(implicit setter: TupleSetter[T]): JobTest
-
def
source(s: Source, iTuple: Iterable[Product]): JobTest
-
def
source[T](fn: (Source) ⇒ Option[Iterable[T]])(implicit setter: TupleSetter[T]): JobTest
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
typedSink[A](s: Source with TypedSink[A])(op: (Buffer[A]) ⇒ Unit)(implicit conv: TupleConverter[A]): JobTest
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
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/src/test/scala/com/twitter/scalding