java.lang.Object
org.apache.jena.sparql.expr.aggregate.AggregatorBase
- All Implemented Interfaces:
Aggregator
- Direct Known Subclasses:
AggAvg,AggAvgDistinct,AggCount,AggCountDistinct,AggCountVar,AggCountVarDistinct,AggCustom,AggFoldList,AggFoldMap,AggGroupConcat,AggGroupConcatDistinct,AggMax,AggMaxDistinct,AggMedian,AggMedianDistinct,AggMin,AggMinDistinct,AggMode,AggModeDistinct,AggNull,AggSample,AggSampleDistinct,AggSum,AggSumDistinct
Aggregate that does everything except the per-group aggregation that is needed for each operation
-
Method Summary
Modifier and TypeMethodDescriptionFormat as an (extended) SPARQL expressionfinal AggregatorcopyTransform(NodeTransform transform) abstract AccumulatorCreate an accumulator for this aggregatorfinal booleangetName()Get the SPARQL name (COUNT, AVG etc)org.apache.jena.graph.Nodeabstract org.apache.jena.graph.NodeValue if there are no groups : return null for no resultabstract inthashCode()key()toString()Methods inherited from interface org.apache.jena.sparql.expr.aggregate.Aggregator
copy, equals
-
Method Details
-
createAccumulator
Description copied from interface:AggregatorCreate an accumulator for this aggregator- Specified by:
createAccumulatorin interfaceAggregator
-
getValueEmpty
public abstract org.apache.jena.graph.Node getValueEmpty()Description copied from interface:AggregatorValue if there are no groups : return null for no result- Specified by:
getValueEmptyin interfaceAggregator
-
getValue
-
key
- Specified by:
keyin interfaceAggregator
-
copyTransform
- Specified by:
copyTransformin interfaceAggregator
-
getExprList
- Specified by:
getExprListin interfaceAggregator
-
getName
Description copied from interface:AggregatorGet the SPARQL name (COUNT, AVG etc)- Specified by:
getNamein interfaceAggregator
-
toString
-
asSparqlExpr
Description copied from interface:AggregatorFormat as an (extended) SPARQL expression- Specified by:
asSparqlExprin interfaceAggregator
-
toPrefixString
- Specified by:
toPrefixStringin interfaceAggregator
-
hashCode
public abstract int hashCode()- Specified by:
hashCodein interfaceAggregator- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceAggregator- Overrides:
equalsin classObject
-