c

bigglue.pipes

PartialReducerPipe

case class PartialReducerPipe[Input <: Identifiable[Input], Output <: Identifiable[Output], End <: Identifiable[End]](reducer: Reducer[Input, Output], p: Pipe[Output, End]) extends PartialPipe[Input, End] with Product with Serializable

This is a pipe that has no input data store, but has a computation and an ending pipeline. This is generated with the +-> call in the pipeline. You can run this in the case of ParallelPipes, and created a sequence of pipes, but that's out of scope for this example. Within the example, we just use this as a stepping point before MapperPipe and ReducerPipe

Input

The data type that the computation puts in. bigglue.examples.GitCommitInfo in the case of FindAuthor()+->authorMap.

End

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

Linear Supertypes
Serializable, Serializable, Product, Equals, PartialPipe[Input, End], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialReducerPipe
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PartialPipe
  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 PartialReducerPipe(reducer: Reducer[Input, Output], p: Pipe[Output, End])

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 PartialReducerPipe[Input, Output, End] to any2stringadd[PartialReducerPipe[Input, Output, End]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PartialReducerPipe[Input, Output, End], B)
    Implicit
    This member is added by an implicit conversion from PartialReducerPipe[Input, Output, End] to ArrowAssoc[PartialReducerPipe[Input, Output, End]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :-+[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](other: PartialReducerPipe[End, Mid, Next]): PartialPipe[Input, Next]
    Definition Classes
    PartialPipe
  6. def :--[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](other: PartialMapperPipe[End, Mid, Next]): PartialPipe[Input, Next]
    Definition Classes
    PartialPipe
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def check(conf: PipeConfig, input: DataStore[Input]): Unit

    In basic terms, this checks to see whether the pipeline that we have created is valid.

    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.

    input

    The input data store to use.

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

    This is the data store at the end of the pipeline.

    This is the data store at the end of the pipeline.

    returns

    The data store at the end of the pipeline.

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

    Probably called with input.init.

    Probably called with input.init. This calls reducer.init with conf, and the data stores before and after the mapper computation. 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.

    input

    The input pipeline used to call the pipeline.

    Definition Classes
    PartialReducerPipePartialPipe
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. val p: Pipe[Output, End]
  26. def persist(): Unit

    This calls reducer.persist, which will check to see what data to send down the pipeline (again?).

    This calls reducer.persist, which will check to see what data to send down the pipeline (again?). Then, it will call p.persist, moving the run call along the pipeline.

    Definition Classes
    PartialReducerPipePartialPipe
  27. val reducer: Reducer[Input, Output]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def terminate(): Unit
    Definition Classes
    PartialReducerPipePartialPipe
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def ~[Other <: Identifiable[Other]](other: PartialPipe[Input, Other]): PartialPipe[Input, Either[End, Other]]
    Definition Classes
    PartialPipe
  34. def [B](y: B): (PartialReducerPipe[Input, Output, End], B)
    Implicit
    This member is added by an implicit conversion from PartialReducerPipe[Input, Output, End] to ArrowAssoc[PartialReducerPipe[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 PartialPipe[Input, End]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped