package computations
Type Members
- abstract class BinaryComputation [InputL <: Identifiable[InputL], InputR <: Identifiable[InputR], Output <: Identifiable[Output]] extends Computation with BinaryChecker[InputL, InputR, Output]
- class CartesianProduct [InputL <: Identifiable[InputL], InputR <: Identifiable[InputR]] extends PairwiseComposer[InputL, InputR, Pair[InputL, InputR]]
-
abstract
class
Computation
extends ConfigBuildsPlatform
This is the superclass for Mapper, Reducer, and PairwiseComposer.
This is the superclass for Mapper, Reducer, and PairwiseComposer. In short, computations take inputs in and then compute on them using some algorithm to create outputs.
-
class
Mapper
[Input <: Identifiable[Input], Output <: Identifiable[Output]] extends UnaryComputation[Input, Output]
The Mapper Computation, which is a subclass of UnaryComputation.
The Mapper Computation, which is a subclass of UnaryComputation. In short, this takes a input, the computation turns that into a list of outputs. In the example, this would be either Clone() or CommitExtraction().
- Input
The type of the data that needs to be computed. Within the example, this is bigglue.examples.GitID for GitClone(), and bigglue.examples.GitRepo for GitCommitExtraction(). This needs to be an Identifiable type.
- Output
The type of the data that ends up being computed. Within the example, this is bigglue.examples.GitRepo for GitClone(), and bigglue.examples.GitCommitInfo for GitCommitExtraction(). This also needs to be an Identifiable type.
-
class
PairwiseComposer
[InputL <: Identifiable[InputL], InputR <: Identifiable[InputR], Output <: Identifiable[Output]] extends BinaryComputation[InputL, InputR, Output]
Created by edmundlam on 8/8/17.
-
class
Reducer
[Input <: Identifiable[Input], Output <: Identifiable[Output]] extends UnaryComputation[Input, Output]
The Reducer Computation, which is a subclass of UnaryComputation In short, this takes an input, groups it together with an output, and then updates the output with the input.
The Reducer Computation, which is a subclass of UnaryComputation In short, this takes an input, groups it together with an output, and then updates the output with the input.
- Input
The type of the data that needs to be computed. In this case, this is bigglue.examples.GitCommitInfo This needs to be an Identifiable type.
- Output
The type of the data that needs to be computed. In this case, this is bigglue.examples.GitCommitGroups This needs to be an Identifiable type.
- abstract class UnaryComputation [Input <: Identifiable[Input], Output <: Identifiable[Output]] extends Computation with UnaryChecker[Input, Output]