com.twitter.scalding

ExecutionUtil

object ExecutionUtil

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

    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

  11. def finalize(): Unit

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

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

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

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

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

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

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

    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

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

    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.

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

    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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped