net.sf.jec.namedop
Class GroupOperator

java.lang.Object
  extended bynet.sf.jec.Operator
      extended bynet.sf.jec.namedop.GroupOperator
Direct Known Subclasses:
AvgOperator, CountOperator, GroupByOperator, IfOperator, MaxOperator, MinOperator, OrderByOperator, SumOperator

public abstract class GroupOperator
extends Operator

GroupOperator is the abstract parent class of every operator that operates over a group (an object implementing the Map interface)

Author:
mballesteros

Field Summary
 
Fields inherited from class net.sf.jec.Operator
argOps, nestedOp, showFunctionString
 
Constructor Summary
GroupOperator()
          Creates a new GroupOperator
 
Method Summary
protected  java.lang.Object applyToGroup(java.lang.Object rootCtx, java.util.Map map)
          Applies operator over a group...
 
Methods inherited from class net.sf.jec.Operator
apply, directMap, setArgumentOperators, setNestedOperator, toExpressionString, toFunctionString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupOperator

public GroupOperator()
Creates a new GroupOperator

Method Detail

applyToGroup

protected java.lang.Object applyToGroup(java.lang.Object rootCtx,
                                        java.util.Map map)
                                 throws EvaluationException
Applies operator over a group...

Throws:
EvaluationException


Copyright © 2003 SourceForge. All Rights Reserved.