com.hp.hpl.jena.sparql.expr.aggregate
Class AggCount
java.lang.Object
com.hp.hpl.jena.sparql.expr.aggregate.AggregatorBase
com.hp.hpl.jena.sparql.expr.aggregate.AggCount
- All Implemented Interfaces:
- Aggregator
public class AggCount
- extends AggregatorBase
AggCount
public AggCount()
copy
public Aggregator copy(Expr expr)
getExpr
public Expr getExpr()
- Description copied from interface:
Aggregator
- Get the expression - may be null (e.g COUNT(*)) ;
createAccumulator
public Accumulator createAccumulator()
- Description copied from interface:
Aggregator
- Create an accumulator for this aggregator
- Specified by:
createAccumulator
in interface Aggregator
- Specified by:
createAccumulator
in class AggregatorBase
toString
public String toString()
- Specified by:
toString
in class AggregatorBase
toPrefixString
public String toPrefixString()
- Specified by:
toPrefixString
in interface Aggregator
- Specified by:
toPrefixString
in class AggregatorBase
getValueEmpty
public com.hp.hpl.jena.graph.Node getValueEmpty()
- Description copied from interface:
Aggregator
- Value if there are no elements in any group : return null for no result
- Specified by:
getValueEmpty
in interface Aggregator
- Specified by:
getValueEmpty
in class AggregatorBase
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Aggregator
- Specified by:
hashCode
in class AggregatorBase
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Aggregator
- Specified by:
equals
in class AggregatorBase
Licenced under the Apache License, Version 2.0