com.hp.hpl.jena.sparql.expr.aggregate
Class AggregatorBase
java.lang.Object
com.hp.hpl.jena.sparql.expr.aggregate.AggregatorBase
- All Implemented Interfaces:
- Aggregator
- Direct Known Subclasses:
- AggAvg, AggAvgDistinct, AggCount, AggCountDistinct, AggCountVar, AggCountVarDistinct, AggGroupConcat, AggGroupConcatDistinct, AggMax, AggMaxDistinct, AggMin, AggMinDistinct, AggSample, AggSampleDistinct, AggSum, AggSumDistinct
public abstract class AggregatorBase
- extends Object
- implements Aggregator
Aggregate that does everything except the per-group aggregation that is needed for each operation
accumulate
public final void accumulate(BindingKey key,
Binding binding,
FunctionEnv functionEnv)
- Specified by:
accumulate in interface Aggregator
getValueEmpty
public abstract 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
getValue
public com.hp.hpl.jena.graph.Node getValue(BindingKey key)
- Specified by:
getValue in interface Aggregator
key
public String key()
- Specified by:
key in interface Aggregator
copyTransform
public final Aggregator copyTransform(NodeTransform transform)
- Specified by:
copyTransform in interface Aggregator
toString
public abstract String toString()
- Overrides:
toString in class Object
toPrefixString
public abstract String toPrefixString()
- Specified by:
toPrefixString in interface Aggregator
hashCode
public abstract int hashCode()
- Specified by:
hashCode in interface Aggregator- Overrides:
hashCode in class Object
equals
public abstract boolean equals(Object other)
- Specified by:
equals in interface Aggregator- Overrides:
equals in class Object
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.