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 String
getGroupingFunction()
String
getGroupingKey()
void
readExternal(ObjectInput in)
void
setGroupingFunction(String groupingFunction)
void
setGroupingKey(String groupingKey)
void
writeExternal(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:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classAccumulateDescr
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classAccumulateDescr
- Throws:
IOException
-
-