org.optaplanner.core.impl.score.stream.drools.quad

## Class DroolsJoinQuadConstraintStream<Solution_,A,B,C,D>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.common.AbstractConstraintStream<Solution_>
  - - org.optaplanner.core.impl.score.stream.drools.common.DroolsAbstractConstraintStream<Solution_>
    - - org.optaplanner.core.impl.score.stream.drools.quad.DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>
      - - org.optaplanner.core.impl.score.stream.drools.quad.DroolsJoinQuadConstraintStream<Solution_,A,B,C,D>

- All Implemented Interfaces:
    ConstraintStream, QuadConstraintStream<A,B,C,D>, InnerQuadConstraintStream<A,B,C,D>

      public final class DroolsJoinQuadConstraintStream<Solution_,A,B,C,D>
      extends DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>

- - ### Field Summary

    - ### Fields inherited from class org.optaplanner.core.impl.score.stream.drools.quad.DroolsAbstractQuadConstraintStream

      `parent`

    - ### Fields inherited from class org.optaplanner.core.impl.score.stream.drools.common.DroolsAbstractConstraintStream

      `constraintFactory`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DroolsJoinQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,A,B,C> parent, DroolsAbstractUniConstraintStream<Solution_,D> otherStream, QuadJoiner<A,B,C,D> joiner)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DroolsQuadCondition<A,B,C,D,?>` | `getCondition()`
    `DroolsAbstractTriConstraintStream<Solution_,A,B,C>` | `getLeftParentStream()`
    `DroolsAbstractUniConstraintStream<Solution_,D>` | `getRightParentStream()`
    `boolean` | `isGroupByAllowed()`
    `String` | `toString()`

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.drools.quad.DroolsAbstractQuadConstraintStream

      `filter, getFromStreamList, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifNotExists, impactScore, impactScore, impactScoreBigDecimal, impactScoreConfigurable, impactScoreConfigurable, impactScoreConfigurableBigDecimal, impactScoreConfigurableLong, impactScoreLong`

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.drools.common.DroolsAbstractConstraintStream

      `addChildStream, buildConstraint, buildConstraintConfigurable, createRuleItemBuilders, getChildStreams, getConstraintFactory, getExpectedJustificationTypes, throwWhenGroupByNotAllowed`

    - ### Methods inherited from class org.optaplanner.core.impl.score.stream.common.AbstractConstraintStream

      `buildConstraintWeightExtractor, buildConstraintWeightExtractor, penalize, penalizeConfigurable, reward, rewardConfigurable, validateConstraintId`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.optaplanner.core.impl.score.stream.quad.InnerQuadConstraintStream

      `penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong`

    - ### Methods inherited from interface org.optaplanner.core.api.score.stream.quad.QuadConstraintStream

      `ifExists, ifExists, ifExists, ifExists, ifNotExists, ifNotExists, ifNotExists, ifNotExists, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong`

    - ### Methods inherited from interface org.optaplanner.core.api.score.stream.ConstraintStream

      `getConstraintFactory, penalize, penalize, penalizeConfigurable, penalizeConfigurable, reward, reward, rewardConfigurable, rewardConfigurable`

- - ### Constructor Detail

    - #### DroolsJoinQuadConstraintStream

          public DroolsJoinQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
                                                DroolsAbstractTriConstraintStream<Solution_,A,B,C> parent,
                                                DroolsAbstractUniConstraintStream<Solution_,D> otherStream,
                                                QuadJoiner<A,B,C,D> joiner)

  - ### Method Detail

    - #### getCondition

          public DroolsQuadCondition<A,B,C,D,?> getCondition()

      Specified by:
        `getCondition` in class `DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>`

    - #### getLeftParentStream

          public DroolsAbstractTriConstraintStream<Solution_,A,B,C> getLeftParentStream()

    - #### getRightParentStream

          public DroolsAbstractUniConstraintStream<Solution_,D> getRightParentStream()

    - #### isGroupByAllowed

          public boolean isGroupByAllowed()

      Overrides:
        `isGroupByAllowed` in class `DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>`
      Returns:
        true when a groupBy() call is supported on this stream.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.