org.objectweb.medor.filter.lib
Class Count
- AggregateOperator, UnaryOperator
Count aggregate function.
Count applies to :
- a FieldOperand, which is part of a NestedField.
- a Collection of values (TupleCollection), specifying which Field
is to be aggregated
- a Collection of values (Java Collection)
In the case of Count, it may be that no operand is specified. In this
case, like in SQL (*), the Tuples made of all Fields of the NestedField
are considered.
- Alexandre Lefebvre
Count
public Count(Expression e)
Count
public Count(Expression e,
boolean distinct)
clone
public Object clone(Object clone,
Map obj2clone)
throws CloneNotSupportedException
- clone in interface BasicAggregateOperator
compileExpression
public Operand compileExpression()
throws ExpressionException,
MalformedExpressionException
countAll
public boolean countAll()
evaluate
public Operand evaluate(ParameterOperand[] pos,
Object o)
throws ExpressionException
getOperatorString
public String getOperatorString()
setCountAll
public void setCountAll()