Class AbstractJoiner<Right_>

java.lang.Object
org.optaplanner.constraint.streams.common.AbstractJoiner<Right_>
Direct Known Subclasses:
DefaultBiJoiner, DefaultPentaJoiner, DefaultQuadJoiner, DefaultTriJoiner

public abstract class AbstractJoiner<Right_> extends Object
  • Field Details

    • rightMappings

      protected final Function<Right_,Object>[] rightMappings
    • joinerTypes

      protected final org.optaplanner.core.impl.score.stream.JoinerType[] joinerTypes
  • Constructor Details

    • AbstractJoiner

      protected AbstractJoiner(Function<Right_,Property_> rightMapping, org.optaplanner.core.impl.score.stream.JoinerType joinerType)
    • AbstractJoiner

      protected AbstractJoiner(Function<Right_,Property_>[] rightMappings, org.optaplanner.core.impl.score.stream.JoinerType[] joinerTypes)
  • Method Details

    • getRightMapping

      public final Function<Right_,Object> getRightMapping(int index)
    • getJoinerCount

      public final int getJoinerCount()
    • getJoinerType

      public final org.optaplanner.core.impl.score.stream.JoinerType getJoinerType(int index)