- All Known Implementing Classes:
AggAvg
,AggAvgDistinct
,AggCount
,AggCountDistinct
,AggCountVar
,AggCountVarDistinct
,AggCustom
,AggFoldList
,AggFoldMap
,AggGroupConcat
,AggGroupConcatDistinct
,AggMax
,AggMaxDistinct
,AggMedian
,AggMedianDistinct
,AggMin
,AggMinDistinct
,AggMode
,AggModeDistinct
,AggNull
,AggregatorBase
,AggSample
,AggSampleDistinct
,AggSum
,AggSumDistinct
public interface Aggregator
An Aggregator is the processor for the whole result stream.
BindingKeys identify which section of a group we're in.
-
Method Summary
Modifier and TypeMethodDescriptionFormat as an (extended) SPARQL expressioncopyTransform
(NodeTransform transform) Create an accumulator for this aggregatorboolean
boolean
equals
(Aggregator other, boolean bySyntax) Consider this 'protected'getName()
Get the SPARQL name (COUNT, AVG etc)org.apache.jena.graph.Node
Value if there are no groups : return null for no resultint
hashCode()
key()
-
Method Details
-
createAccumulator
Accumulator createAccumulator()Create an accumulator for this aggregator -
getValueEmpty
org.apache.jena.graph.Node getValueEmpty()Value if there are no groups : return null for no result -
toPrefixString
String toPrefixString() -
key
String key() -
getName
String getName()Get the SPARQL name (COUNT, AVG etc) -
getExprList
ExprList getExprList() -
copy
-
copyTransform
-
hashCode
int hashCode() -
equals
-
equals
Consider this 'protected' -
asSparqlExpr
Format as an (extended) SPARQL expression
-