Class SingleBiJoiner<A,B>
- java.lang.Object
-
- org.optaplanner.core.impl.score.stream.common.AbstractJoiner
-
- org.optaplanner.core.impl.score.stream.bi.AbstractBiJoiner<A,B>
-
- org.optaplanner.core.impl.score.stream.bi.SingleBiJoiner<A,B>
-
- All Implemented Interfaces:
BiJoiner<A,B>
public final class SingleBiJoiner<A,B> extends AbstractBiJoiner<A,B>
-
-
Constructor Summary
Constructors Constructor Description SingleBiJoiner(Function<A,?> leftMapping, JoinerType joinerType, Function<B,?> rightMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinerType
getJoinerType()
JoinerType[]
getJoinerTypes()
Function<A,Object[]>
getLeftCombinedMapping()
Function<A,?>
getLeftMapping()
Function<A,Object>
getLeftMapping(int index)
Function<B,Object[]>
getRightCombinedMapping()
Function<B,?>
getRightMapping()
Function<B,Object>
getRightMapping(int index)
-
Methods inherited from class org.optaplanner.core.impl.score.stream.bi.AbstractBiJoiner
getFilter, matches, merge
-
-
-
-
Constructor Detail
-
SingleBiJoiner
public SingleBiJoiner(Function<A,?> leftMapping, JoinerType joinerType, Function<B,?> rightMapping)
-
-
Method Detail
-
getJoinerType
public JoinerType getJoinerType()
-
getLeftMapping
public Function<A,Object> getLeftMapping(int index)
- Specified by:
getLeftMapping
in classAbstractBiJoiner<A,B>
-
getLeftCombinedMapping
public Function<A,Object[]> getLeftCombinedMapping()
- Specified by:
getLeftCombinedMapping
in classAbstractBiJoiner<A,B>
-
getJoinerTypes
public JoinerType[] getJoinerTypes()
- Specified by:
getJoinerTypes
in classAbstractJoiner
-
getRightMapping
public Function<B,Object> getRightMapping(int index)
- Specified by:
getRightMapping
in classAbstractBiJoiner<A,B>
-
getRightCombinedMapping
public Function<B,Object[]> getRightCombinedMapping()
- Specified by:
getRightCombinedMapping
in classAbstractBiJoiner<A,B>
-
-