Package nz.org.riskscape.engine.pipeline
Class LopsidedFlatProjector<T>
java.lang.Object
nz.org.riskscape.engine.pipeline.LopsidedFlatProjector<T>
- All Implemented Interfaces:
AutoCloseable
,Function<nz.org.riskscape.engine.Tuple,
,nz.org.riskscape.engine.relation.TupleIterator> nz.org.riskscape.engine.pipeline.Realized
,nz.org.riskscape.engine.projection.FlatProjector
public class LopsidedFlatProjector<T>
extends Object
implements nz.org.riskscape.engine.projection.FlatProjector
Converts a LopsidedJoiner
in to a FlatProjector
so that a pipeline can parallelize the lhs
-
Constructor Summary
ConstructorDescriptionLopsidedFlatProjector
(nz.org.riskscape.engine.join.LopsidedJoiner<T> joiner, nz.org.riskscape.engine.relation.TupleIterator rhs) -
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.engine.relation.TupleIterator
apply
(nz.org.riskscape.engine.Tuple lhs) nz.org.riskscape.engine.types.Struct
nz.org.riskscape.engine.types.Struct
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.pipeline.Realized
close
-
Constructor Details
-
LopsidedFlatProjector
public LopsidedFlatProjector(nz.org.riskscape.engine.join.LopsidedJoiner<T> joiner, nz.org.riskscape.engine.relation.TupleIterator rhs)
-
-
Method Details
-
getSourceType
public nz.org.riskscape.engine.types.Struct getSourceType()- Specified by:
getSourceType
in interfacenz.org.riskscape.engine.projection.FlatProjector
-
getProjectedType
public nz.org.riskscape.engine.types.Struct getProjectedType()- Specified by:
getProjectedType
in interfacenz.org.riskscape.engine.projection.FlatProjector
-
apply
public nz.org.riskscape.engine.relation.TupleIterator apply(nz.org.riskscape.engine.Tuple lhs)
-