Hermes@Neo4j
|
Public Member Functions | |
void | setStarts (Iterator< S > starts) |
void | setStarts (Iterable< S > starts) |
List | getPath () |
void | reset () |
The generic interface for any Pipe implementation. A Pipe takes/consumes objects of type S and returns/emits objects of type E. S refers to starts and the E refers to ends.
List Neo4jSpatiotemporal.pipes.impl.PipeTemporal< S, E >.getPath | ( | ) |
Returns the transformation path to arrive at the current object of the pipe.
Implemented in Neo4jSpatiotemporal.pipes.impl.PipelineTemporal< S, E >, and Neo4jSpatiotemporal.pipes.impl.AbstractPipeTemporal< S, E >.
void Neo4jSpatiotemporal.pipes.impl.PipeTemporal< S, E >.reset | ( | ) |
A pipe may maintain state. Reset is used to remove state. The general use case for reset() is to reuse a pipe in another computation without having to create a new Pipe object.
Implemented in Neo4jSpatiotemporal.pipes.impl.PipelineTemporal< S, E >, and Neo4jSpatiotemporal.pipes.impl.AbstractPipeTemporal< S, E >.
void Neo4jSpatiotemporal.pipes.impl.PipeTemporal< S, E >.setStarts | ( | Iterator< S > | starts | ) |
Set an iterator of S objects to the head (start) of the pipe.
starts | the iterator of incoming objects |
void Neo4jSpatiotemporal.pipes.impl.PipeTemporal< S, E >.setStarts | ( | Iterable< S > | starts | ) |
Set an iterable of S objects to the head (start) of the pipe.
starts | the iterable of incoming objects |