Interface Aggregator
-
- All Known Implementing Classes:
AggAvg
,AggAvgDistinct
,AggCount
,AggCountDistinct
,AggCountVar
,AggCountVarDistinct
,AggCustom
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
asSparqlExpr(SerializationContext sCxt)
Format as an (extended) SPARQL expressionAggregator
copy(ExprList exprs)
Aggregator
copyTransform(NodeTransform transform)
Accumulator
createAccumulator()
Create an accumulator for this aggregatorboolean
equals(java.lang.Object other)
boolean
equals(Aggregator other, boolean bySyntax)
Consider this 'protected'ExprList
getExprList()
java.lang.String
getName()
Get the SPARQL name (COUNT, AVG etc)Node
getValueEmpty()
Value if there are no groups : return null for no resultint
hashCode()
java.lang.String
key()
java.lang.String
toPrefixString()
-
-
-
Method Detail
-
createAccumulator
Accumulator createAccumulator()
Create an accumulator for this aggregator
-
getValueEmpty
Node getValueEmpty()
Value if there are no groups : return null for no result
-
toPrefixString
java.lang.String toPrefixString()
-
key
java.lang.String key()
-
getName
java.lang.String getName()
Get the SPARQL name (COUNT, AVG etc)
-
getExprList
ExprList getExprList()
-
copy
Aggregator copy(ExprList exprs)
-
copyTransform
Aggregator copyTransform(NodeTransform transform)
-
hashCode
int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
equals
boolean equals(Aggregator other, boolean bySyntax)
Consider this 'protected'
-
asSparqlExpr
java.lang.String asSparqlExpr(SerializationContext sCxt)
Format as an (extended) SPARQL expression
-
-