Package

com.twitter.summingbird

planner

Permalink

package planner

Visibility
  1. Public
  2. All

Type Members

  1. case class ComposedFlatMap[A, B, C](first: (A) ⇒ TraversableOnce[B], second: (B) ⇒ TraversableOnce[C]) extends (A) ⇒ TraversableOnce[C] with IrreducibleContainer with Product with Serializable

    Permalink

    When optimizing and composing flatMaps, this class can be used so that we can recover the parts if needed.

    When optimizing and composing flatMaps, this class can be used so that we can recover the parts if needed. For instance, options apply to the irreducible inputs from the user (such as functions, stores, etc... This class allows us to get those irreducibiles even after optimization

  2. case class ComposedOptionFlat[A, B, C](first: (A) ⇒ Option[B], second: (B) ⇒ TraversableOnce[C]) extends (A) ⇒ TraversableOnce[C] with IrreducibleContainer with Product with Serializable

    Permalink
  3. case class ComposedOptionMap[A, B, C](first: (A) ⇒ Option[B], second: (B) ⇒ Option[C]) extends (A) ⇒ Option[C] with IrreducibleContainer with Product with Serializable

    Permalink

    Composing optionMaps

  4. case class Dag[P <: Platform[P]](originalTail: TailProducer[P, _], producerToPriorityNames: Map[Producer[P, Any], List[String]], tail: TailProducer[P, _], producerToNode: Map[Producer[P, _], Node[P]], nodes: List[Node[P]], nodeToName: Map[Node[P], String] = Map[Node[P], String](), nameToNode: Map[String, Node[P]] = Map[String, Node[P]](), dependenciesOfM: Map[Node[P], List[Node[P]]] = Map[Node[P], List[Node[P]]](), dependantsOfM: Map[Node[P], List[Node[P]]] = Map[Node[P], List[Node[P]]]()) extends Product with Serializable

    Permalink
  5. trait DagOptimizer[P <: Platform[P]] extends AnyRef

    Permalink
  6. case class FlatAsFilter[A](useAsFilter: (A) ⇒ TraversableOnce[Nothing]) extends (A) ⇒ Option[A] with IrreducibleContainer with Product with Serializable

    Permalink
  7. case class FlatMapNode[P <: Platform[P]](members: List[Producer[P, _]] = List()) extends Node[P] with Product with Serializable

    Permalink
  8. trait IrreducibleContainer extends AnyRef

    Permalink

    This is a marker trait that indicates that the subclass holds one or more irreducible items passed by the user.

    This is a marker trait that indicates that the subclass holds one or more irreducible items passed by the user. These may need to be accessed at some planning stage after optimization in order to attach the correct options

  9. case class MergeResults[A, B](left: (A) ⇒ TraversableOnce[B], right: (A) ⇒ TraversableOnce[B]) extends (A) ⇒ TraversableOnce[B] with IrreducibleContainer with Product with Serializable

    Permalink

    (a.flatMap(f1) ++ a.flatMap(f2)) == a.flatMap { i => f1(i) ++ f2(i) }

  10. sealed trait Node[P <: Platform[P]] extends AnyRef

    Permalink
  11. case class NodeIdentifier(identifier: String) extends Product with Serializable

    Permalink
  12. case class OptionToFlat[A, B](optionMap: (A) ⇒ Option[B]) extends (A) ⇒ TraversableOnce[B] with IrreducibleContainer with Product with Serializable

    Permalink
  13. case class SourceNode[P <: Platform[P]](members: List[Producer[P, _]] = List()) extends Node[P] with Product with Serializable

    Permalink
  14. case class SummerNode[P <: Platform[P]](members: List[Producer[P, _]] = List()) extends Node[P] with Product with Serializable

    Permalink

Value Members

  1. object Dag extends Serializable

    Permalink
  2. object IrreducibleContainer

    Permalink

Ungrouped