Package org.drools.model.patterns
Class GroupByPatternImpl<T,K>
- java.lang.Object
-
- org.drools.model.patterns.AbstractSinglePattern
-
- org.drools.model.patterns.AccumulatePatternImpl<T>
-
- org.drools.model.patterns.GroupByPatternImpl<T,K>
-
- All Implemented Interfaces:
AccumulatePattern<T>,Condition,GroupByPattern<T,K>,ModelComponent,Pattern<T>
public class GroupByPatternImpl<T,K> extends AccumulatePatternImpl<T> implements GroupByPattern<T,K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.Condition
Condition.Type
-
-
Constructor Summary
Constructors Constructor Description GroupByPatternImpl(Condition condition, Variable[] vars, Variable<K> varKey, FunctionN groupingFunction, AccumulateFunction... accumulateFunctions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionNgetGroupingFunction()Condition.TypegetType()Variable<K>getVarKey()Variable[]getVars()-
Methods inherited from class org.drools.model.patterns.AccumulatePatternImpl
getAccumulateFunctions, getBindings, getBoundVariables, getCondition, getConstraint, getInputVariables, getPattern, getPatternVariable, getWatchedProps, isCompositePatterns, isEqualTo, isPassive, isQuerySource, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.model.AccumulatePattern
getAccumulateFunctions, getCondition, getPattern, isCompositePatterns, isQuerySource
-
Methods inherited from interface org.drools.model.Condition
cloneCondition, getBoundVariables, getSubConditions
-
Methods inherited from interface org.drools.model.Pattern
getBindings, getConstraint, getInputVariables, getPatternClassMetadata, getPatternVariable, getWatchedProps, isPassive
-
-
-
-
Method Detail
-
getType
public Condition.Type getType()
- Specified by:
getTypein interfaceCondition- Overrides:
getTypein classAccumulatePatternImpl<T>
-
getVars
public Variable[] getVars()
- Specified by:
getVarsin interfaceGroupByPattern<T,K>
-
getGroupingFunction
public FunctionN getGroupingFunction()
- Specified by:
getGroupingFunctionin interfaceGroupByPattern<T,K>
-
-