Package org.drools.compiler.lang.descr
Class GroupByDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.PatternSourceDescr
-
- org.drools.compiler.lang.descr.AccumulateDescr
-
- org.drools.compiler.lang.descr.GroupByDescr
-
- All Implemented Interfaces:
Externalizable,Serializable,ConditionalElementDescr,MultiPatternDestinationDescr,PatternDestinationDescr,org.drools.core.rule.Namespaceable
public class GroupByDescr extends AccumulateDescr
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.drools.compiler.lang.descr.AccumulateDescr
AccumulateDescr.AccumulateFunctionCallDescr
-
-
Constructor Summary
Constructors Constructor Description GroupByDescr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGroupingFunction()StringgetGroupingKey()voidreadExternal(ObjectInput in)voidsetGroupingFunction(String groupingFunction)voidsetGroupingKey(String groupingKey)voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.drools.compiler.lang.descr.AccumulateDescr
accept, addDescr, addFunction, addFunction, addOrMerge, getActionCode, getClassName, getDeclarations, getDescrs, getFunctions, getInitCode, getInput, getInputPattern, getLine, getResultCode, getReverseCode, hasValidInput, insertBeforeLast, isExternalFunction, isMultiFunction, isMultiPattern, isSinglePattern, removeDescr, removeFunction, setActionCode, setClassName, setDeclarations, setInitCode, setInput, setInputPattern, setResultCode, setReverseCode, toString
-
Methods inherited from class org.drools.compiler.lang.descr.BaseDescr
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
-
-
-
-
Method Detail
-
getGroupingFunction
public String getGroupingFunction()
-
setGroupingFunction
public void setGroupingFunction(String groupingFunction)
-
getGroupingKey
public String getGroupingKey()
-
setGroupingKey
public void setGroupingKey(String groupingKey)
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAccumulateDescr- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAccumulateDescr- Throws:
IOException
-
-