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 AggregatorAn 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.StringasSparqlExpr(SerializationContext sCxt)Format as an (extended) SPARQL expressionAggregatorcopy(ExprList exprs)AggregatorcopyTransform(NodeTransform transform)AccumulatorcreateAccumulator()Create an accumulator for this aggregatorbooleanequals(java.lang.Object other)booleanequals(Aggregator other, boolean bySyntax)Consider this 'protected'ExprListgetExprList()java.lang.StringgetName()Get the SPARQL name (COUNT, AVG etc)NodegetValueEmpty()Value if there are no groups : return null for no resultinthashCode()java.lang.Stringkey()java.lang.StringtoPrefixString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
boolean equals(java.lang.Object other)
- Overrides:
equalsin 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
-
-