Class AggNull
- java.lang.Object
-
- org.apache.jena.sparql.expr.aggregate.AggregatorBase
-
- org.apache.jena.sparql.expr.aggregate.AggNull
-
- All Implemented Interfaces:
Aggregator
public class AggNull extends AggregatorBase
The null aggregate (which can't be written in SPARQL) calculates nothing but does help remember the group key.
-
-
Constructor Summary
Constructors Constructor Description AggNull()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregator
copy(ExprList exprs)
static Accumulator
createAccNull()
Accumulator
createAccumulator()
Create an accumulator for this aggregatorboolean
equals(Aggregator other, boolean bySyntax)
Consider this 'protected'Node
getValueEmpty()
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
-
-
-
-
Method Detail
-
copy
public Aggregator copy(ExprList exprs)
-
createAccumulator
public Accumulator createAccumulator()
Description copied from interface:Aggregator
Create an accumulator for this aggregator- Specified by:
createAccumulator
in interfaceAggregator
- Specified by:
createAccumulator
in classAggregatorBase
-
getValueEmpty
public 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
public boolean equals(Aggregator other, boolean bySyntax)
Description copied from interface:Aggregator
Consider this 'protected'
-
createAccNull
public static Accumulator createAccNull()
-
-