Object

com.twitter.scalding

ExecutionUtil

Related Doc: package scalding

Permalink

object ExecutionUtil

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

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. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def executionsFromDates[T](duration: Duration)(fn: (DateRange) ⇒ Execution[T])(implicit dr: DateRange): Seq[Execution[T]]

    Permalink

    Generate a list of executions from a date range

    Generate a list of executions from a date range

    duration

    Duration to split daterange

    fn

    Function to run a execution given a date range

    returns

    Sequence of Executions per Day

  9. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def runDateRangeWithParallelism[T](duration: Duration, parallelism: Int = 1)(fn: (DateRange) ⇒ Execution[T])(implicit dr: DateRange): Execution[Seq[T]]

    Permalink

    Split a DateRange and allow for max parallel running of executions

    Split a DateRange and allow for max parallel running of executions

    duration

    Duration to split daterange

    parallelism

    How many jobs to run in parallel

    fn

    Function to run a execution given a date range

    returns

    Execution of Sequences

  17. def runDateRangeWithParallelismSum[T](duration: Duration, parallelism: Int = 1)(fn: (DateRange) ⇒ Execution[T])(implicit dr: DateRange, semigroup: Semigroup[T]): Execution[T]

    Permalink

    Same as runDateRangeWithParallelism, but sums the sequence of values after running.

    Same as runDateRangeWithParallelism, but sums the sequence of values after running. This is useful when you want to do a calculation in parallel over many durations and join the results together.

    For example, a common use case is when T is a TypedPipe[U] and you want to independently compute the pipes on each day and union them into a single TypedPipe at the end.

    Another possible use case would be if the executions were created by summing intermediate monoids (e.g. T was a Map[String,HLL] since algebird supports monoids for maps and hll) and you wanted to do a final aggregation of the Monoids computed for each duration.

  18. def runDatesWithParallelism[T](duration: Duration, parallelism: Int = 1)(fn: (DateRange) ⇒ Execution[T])(implicit dr: DateRange): Execution[Seq[(DateRange, T)]]

    Permalink

    Split a DateRange and allow for max parallel running of executions

    Split a DateRange and allow for max parallel running of executions

    duration

    Duration to split daterange

    parallelism

    How many jobs to run in parallel

    fn

    Function to run a execution given a date range

    returns

    Seq of Dates split by Duration with corresponding execution result

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped