java.lang.Object
org.apache.jena.sparql.expr.aggregate.AggregatorBase
org.apache.jena.sparql.expr.aggregate.AggNull
- All Implemented Interfaces:
Aggregator
The null aggregate (which can't be written in SPARQL)
calculates nothing but does help remember the group key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Accumulator
Create an accumulator for this aggregatorboolean
equals
(Aggregator other, boolean bySyntax) Consider this 'protected'org.apache.jena.graph.Node
Value if there are no groups : return null for no resultint
hashCode()
Methods inherited from class org.apache.jena.sparql.expr.aggregate.AggregatorBase
asSparqlExpr, copyTransform, equals, getExprList, getName, getValue, key, toPrefixString, toString
-
Constructor Details
-
AggNull
public AggNull()
-
-
Method Details
-
copy
-
createAccumulator
Description copied from interface:Aggregator
Create an accumulator for this aggregator- Specified by:
createAccumulator
in interfaceAggregator
- Specified by:
createAccumulator
in classAggregatorBase
-
getValueEmpty
public 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
- Specified by:
getValueEmpty
in classAggregatorBase
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAggregator
- Specified by:
hashCode
in classAggregatorBase
-
equals
Description copied from interface:Aggregator
Consider this 'protected' -
createAccNull
-