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, AggNull, 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
createAccumulator
public abstract Accumulator createAccumulator()
- Description copied from interface:
Aggregator
- Create an accumulator for this aggregator
- Specified by:
createAccumulator
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(Binding key)
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
Licenced under the Apache License, Version 2.0