implicit class DataNode[Data <: Identifiable[Data]] extends Pipe[Data, Data]
This is a wrapper for data pipelines that make them act like pipes. In the example, gitID, clonedMap, c, and d are converted implicitly to DataNodes when calling gitID:--Clone()-->clonedMap:--CommitExtraction()-->commitInfoMap:-+FindAuthor()+->authorMap.
- Data
The Type of the Data Store; In this case, it's bigglue.examples.GitID for gitID, bigglue.examples.GitRepo for clonedMap, bigglue.examples.GitCommitInfo for commitInfoMap, and bigglue.examples.GitCommitGroups for authorMap.
- Alphabetic
- By Inheritance
- DataNode
- Pipe
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (DataNode[Data], B)
-
def
:-+[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](headReducer: PartialReducerPipe[Data, Mid, Next]): Pipe[Data, 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
-
def
:--[Next <: Identifiable[Next], Mid <: Identifiable[Mid]](headMapper: PartialMapperPipe[Data, Mid, Next]): Pipe[Data, 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
-
def
:<[Next <: Identifiable[Next]](parPipes: PartialPipe[Data, Next]): Pipe[Data, Next]
- Definition Classes
- Pipe
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
check(conf: PipeConfig): Unit
This is called within the example with pipe.check(conf).
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
end(): DataStore[Data]
This returns the data store hidden in the pipeline
- def ensuring(cond: (DataNode[Data]) ⇒ Boolean, msg: ⇒ Any): DataNode[Data]
- def ensuring(cond: (DataNode[Data]) ⇒ Boolean): DataNode[Data]
- def ensuring(cond: Boolean, msg: ⇒ Any): DataNode[Data]
- def ensuring(cond: Boolean): DataNode[Data]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
head(): DataStore[Data]
This returns the data store hidden in the pipeline
-
def
init(conf: PipeConfig): Unit
This initializes the DataStore map by calling map.init(conf) In this example, we would call bigglue.store.instances.solr.SolrDataMap.init(conf)
This initializes the DataStore map by calling map.init(conf) In this example, we would call bigglue.store.instances.solr.SolrDataMap.init(conf)
- conf
The configuration file to initialize
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
persist(): Unit
This starts/restarts the pipeline.
This starts/restarts the pipeline. See MapperPipe.persist() or ReducerPipe.persist()
- Definition Classes
- Pipe
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def terminate(): Unit
-
def
toString(): String
- Definition Classes
- DataNode → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
||[OHead <: Identifiable[OHead], OEnd <: Identifiable[OEnd]](o: Pipe[OHead, OEnd]): PairPipes[Data, OHead, Data, OEnd]
- Definition Classes
- Pipe
- def →[B](y: B): (DataNode[Data], B)