public abstract class AggregatorBase extends Object implements Aggregator
Modifier and Type | Method and Description |
---|---|
String |
asSparqlExpr(SerializationContext sCxt)
Format as an (extended) SPARQL expression
|
Aggregator |
copyTransform(NodeTransform transform) |
abstract Accumulator |
createAccumulator()
Create an accumulator for this aggregator
|
abstract boolean |
equals(Object other) |
ExprList |
getExprList() |
String |
getName()
Get the SPARQL name (COUNT, AVG etc)
|
Node |
getValue(Binding key) |
abstract Node |
getValueEmpty()
Value if there are no elements in any group : return null for no result
|
abstract int |
hashCode() |
String |
key() |
String |
toPrefixString() |
String |
toString() |
copy
public abstract Accumulator createAccumulator()
Aggregator
createAccumulator
in interface Aggregator
public abstract Node getValueEmpty()
Aggregator
getValueEmpty
in interface Aggregator
public String key()
key
in interface Aggregator
public final Aggregator copyTransform(NodeTransform transform)
copyTransform
in interface Aggregator
public ExprList getExprList()
getExprList
in interface Aggregator
public String getName()
Aggregator
getName
in interface Aggregator
public String asSparqlExpr(SerializationContext sCxt)
Aggregator
asSparqlExpr
in interface Aggregator
public String toPrefixString()
toPrefixString
in interface Aggregator
public abstract int hashCode()
hashCode
in interface Aggregator
hashCode
in class Object
public abstract boolean equals(Object other)
equals
in interface Aggregator
equals
in class Object
Licenced under the Apache License, Version 2.0