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 Aggregator
copyTransform
(NodeTransform transform) abstract Accumulator
Create an accumulator for this aggregatorfinal boolean
getName()
Get the SPARQL name (COUNT, AVG etc)org.apache.jena.graph.Node
abstract org.apache.jena.graph.Node
Value if there are no groups : return null for no resultabstract int
hashCode()
key()
toString()
Methods inherited from interface org.apache.jena.sparql.expr.aggregate.Aggregator
copy, equals
-
Method Details
-
createAccumulator
Description copied from interface:Aggregator
Create an accumulator for this aggregator- Specified by:
createAccumulator
in interfaceAggregator
-
getValueEmpty
public abstract org.apache.jena.graph.Node getValueEmpty()Description copied from interface:Aggregator
Value if there are no groups : return null for no result- Specified by:
getValueEmpty
in interfaceAggregator
-
getValue
-
key
- Specified by:
key
in interfaceAggregator
-
copyTransform
- Specified by:
copyTransform
in interfaceAggregator
-
getExprList
- Specified by:
getExprList
in interfaceAggregator
-
getName
Description copied from interface:Aggregator
Get the SPARQL name (COUNT, AVG etc)- Specified by:
getName
in interfaceAggregator
-
toString
-
asSparqlExpr
Description copied from interface:Aggregator
Format as an (extended) SPARQL expression- Specified by:
asSparqlExpr
in interfaceAggregator
-
toPrefixString
- Specified by:
toPrefixString
in interfaceAggregator
-
hashCode
public abstract int hashCode()- Specified by:
hashCode
in interfaceAggregator
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceAggregator
- Overrides:
equals
in classObject
-