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

## Class DroolsAbstractGroupBy<InTuple,OutTuple>

- java.lang.Object
- - org.optaplanner.core.impl.score.stream.drools.common.DroolsAbstractGroupBy<InTuple,OutTuple>

- All Implemented Interfaces:
    Serializable

      public abstract class DroolsAbstractGroupBy<InTuple,OutTuple>
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DroolsAbstractGroupBy()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accumulate(org.drools.core.common.InternalFactHandle handle, InTuple input)`
    `Set<OutTuple>` | `getResult()`
    `void` | `init()`
    `protected abstract GroupByAccumulator<InTuple,OutTuple>` | `newAccumulator()`
    `void` | `reverse(org.drools.core.common.InternalFactHandle handle)`

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

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

- - ### Constructor Detail

    - #### DroolsAbstractGroupBy

          public DroolsAbstractGroupBy()

  - ### Method Detail

    - #### init

          public void init()

    - #### accumulate

          public void accumulate(org.drools.core.common.InternalFactHandle handle,
                                 InTuple input)

    - #### reverse

          public void reverse(org.drools.core.common.InternalFactHandle handle)

    - #### getResult

          public Set<OutTuple> getResult()

    - #### newAccumulator

          protected abstract GroupByAccumulator<InTuple,OutTuple> newAccumulator()

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