c

bigglue.pipes

ReducerPipe

case class ReducerPipe[Head <: Identifiable[Head], Input <: Identifiable[Input], Output <: Identifiable[Output], End <: Identifiable[End]](p1: Pipe[Head, Input], reducer: Reducer[Input, Output], p2: Pipe[Output, End]) extends Pipe[Head, End] with Product with Serializable

In the example, this is created with the call commitInfoMap:-+FindAuthor()+->authorMap within the val pipe = gitID:--Clone()-->clonedMap:--CommitExtraction()-->commitInfoMap:-+FindAuthor()+->authorMap line. With this example, this is a pipeline that goes from Data Store c, computed by the reducer FindAuthor(), and then goes down into Data Store d to be sent further down the pipeline.

Head

The data store type at the very beginning of the pipeline. In the example, it would be bigglue.examples.GitID

Input

The type of the Data Store that brings in input to this part of the pipeline. bigglue.examples.GitCommitInfo in this case.

Output

The type of the Data Store that this part of the pipeline outputs to. bigglue.examples.GitCommitGroups in this case.

End

The type of the data store that shows up at the end of the pipeline; bigglue.examples.GitCommitGroups in this case.

p1

The part of the pipeline before the actual reducer section of the pipeline; In the example, it would be the MapperPipe(gitID:--Clone()-->clonedMap:--CommitExtraction()-->commitInfoMap)

reducer

The computation (Reducer) on which the inputs get computed by. FindAuthor() in the example.

p2

The part of the pipeline after the actual reducer section of the pipeline; In the example, it would be bigglue.pipes.Implicits.DataNode(authorMap)

Linear Supertypes
Serializable, Serializable, Product, Equals, Pipe[Head, End], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReducerPipe
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Pipe
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReducerPipe(p1: Pipe[Head, Input], reducer: Reducer[Input, Output], p2: Pipe[Output, End])

    p1

    The part of the pipeline before the actual reducer section of the pipeline; In the example, it would be the MapperPipe(gitID:--Clone()-->clonedMap:--CommitExtraction()-->commitInfoMap)

    reducer

    The computation (Reducer) on which the inputs get computed by. FindAuthor() in the example.

    p2

    The part of the pipeline after the actual reducer section of the pipeline; In the example, it would be bigglue.pipes.Implicits.DataNode(authorMap)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to any2stringadd[ReducerPipe[Head, Input, Output, End]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReducerPipe[Head, Input, Output, End], B)
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to ArrowAssoc[ReducerPipe[Head, Input, Output, End]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :-+[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](headReducer: PartialReducerPipe[End, Mid, Next]): Pipe[Head, Next]

    This connects the Reducer to the input store, connecting it completely.

    This connects the Reducer to the input store, connecting it completely. This is expected to be called after a bigglue.pipes.Implicits.DataNode, and can be seen after gitID and clonedMap.

    Next

    The type at the end of the new pipeline.

    Mid

    The type that the mapper ends up outputting given the input End.

    headReducer

    The reducer to connect to the input store.

    returns

    A connected ReducerPipe that connects this pipeline to the reducer.

    Definition Classes
    Pipe
  6. def :--[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](headMapper: PartialMapperPipe[End, Mid, Next]): Pipe[Head, Next]

    This connects the Mapper to the input store, connecting it completely.

    This connects the Mapper to the input store, connecting it completely. This is expected to be called after a bigglue.pipes.Implicits.DataNode, and can be seen after gitID and clonedMap.

    Next

    The type at the end of the new pipeline.

    Mid

    The type that the mapper ends up outputting given the input End.

    headMapper

    The mapper to connect to the input store.

    returns

    A connected MapperPipe that connects this pipeline to the mapper.

    Definition Classes
    Pipe
  7. def :<[Next <: Identifiable[Next]](parPipes: PartialPipe[End, Next]): Pipe[Head, Next]
    Definition Classes
    Pipe
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def check(conf: PipeConfig): Unit

    This is called within the example with pipe.check(conf).

    This is called within the example with pipe.check(conf). In basic terms, this checks to see whether the pipeline that we have created is valid.

    conf

    The configuration file that we are checking with.

    Definition Classes
    ReducerPipePipe
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def end(): DataStore[End]

    This gives you the data store at the end of the pipeline.

    This gives you the data store at the end of the pipeline.

    returns

    The Data Store inside the DataNode at the end of the pipeline. This is the same as p2.end, as that's the part of the pipeline after the Reducer section. In this example, this would be d.

    Definition Classes
    ReducerPipePipe
  13. def ensuring(cond: (ReducerPipe[Head, Input, Output, End]) ⇒ Boolean, msg: ⇒ Any): ReducerPipe[Head, Input, Output, End]
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to Ensuring[ReducerPipe[Head, Input, Output, End]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ReducerPipe[Head, Input, Output, End]) ⇒ Boolean): ReducerPipe[Head, Input, Output, End]
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to Ensuring[ReducerPipe[Head, Input, Output, End]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ReducerPipe[Head, Input, Output, End]
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to Ensuring[ReducerPipe[Head, Input, Output, End]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ReducerPipe[Head, Input, Output, End]
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to Ensuring[ReducerPipe[Head, Input, Output, End]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to StringFormat[ReducerPipe[Head, Input, Output, End]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. def head(): DataStore[Head]

    This gives you the data store at the start of the pipeline.

    This gives you the data store at the start of the pipeline.

    returns

    The Data Store inside the DataNode at the start of the pipeline. This is the same as p1.head, as that's the part of the pipeline before the Reducer section. In this example, it would be gitID.

    Definition Classes
    ReducerPipePipe
  22. def init(conf: PipeConfig): Unit

    This is called with the example with pipe.init(conf).

    This is called with the example with pipe.init(conf). This calls reducer.init with conf, and the data stores before and after the mapper computation. This calls p1.end and p2.end for the reducer.init call, p1.init, and p2.init This also moves the init call along the pipeline, sending it to the parts of the pipeline its connected to.

    conf

    The configuration file that we are initializing with. This ideally is the configuration file that is being used to check the pipeline.

    Definition Classes
    ReducerPipePipe
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. val p1: Pipe[Head, Input]
  28. val p2: Pipe[Output, End]
  29. def persist(): Unit

    This is called within the example pipe.persist.

    This is called within the example pipe.persist. This calls reducer.persist, which will check to see what data to send down the pipeline (again?). Then, it will call p1.persist and p2.persist, moving the run call along the pipeline.

    Definition Classes
    ReducerPipePipe
  30. val reducer: Reducer[Input, Output]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def terminate(): Unit

    This ends the pipeline by terminating the reducer with reducer.terminate.

    This ends the pipeline by terminating the reducer with reducer.terminate. Then, it moves the terminate call throughout the pipeline by calling Pipe.terminate on both p1 and p2.

    Definition Classes
    ReducerPipePipe
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def ||[OHead <: Identifiable[OHead], OEnd <: Identifiable[OEnd]](o: Pipe[OHead, OEnd]): PairPipes[Head, OHead, End, OEnd]
    Definition Classes
    Pipe
  37. def [B](y: B): (ReducerPipe[Head, Input, Output, End], B)
    Implicit
    This member is added by an implicit conversion from ReducerPipe[Head, Input, Output, End] to ArrowAssoc[ReducerPipe[Head, Input, Output, End]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Pipe[Head, End]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReducerPipe[Head, Input, Output, End] to any2stringadd[ReducerPipe[Head, Input, Output, End]]

Inherited by implicit conversion StringFormat from ReducerPipe[Head, Input, Output, End] to StringFormat[ReducerPipe[Head, Input, Output, End]]

Inherited by implicit conversion Ensuring from ReducerPipe[Head, Input, Output, End] to Ensuring[ReducerPipe[Head, Input, Output, End]]

Inherited by implicit conversion ArrowAssoc from ReducerPipe[Head, Input, Output, End] to ArrowAssoc[ReducerPipe[Head, Input, Output, End]]

Ungrouped