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
|
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, equalspublic abstract Accumulator createAccumulator()
AggregatorcreateAccumulator in interface Aggregatorpublic abstract Node getValueEmpty()
AggregatorgetValueEmpty in interface Aggregatorpublic String key()
key in interface Aggregatorpublic final Aggregator copyTransform(NodeTransform transform)
copyTransform in interface Aggregatorpublic ExprList getExprList()
getExprList in interface Aggregatorpublic String getName()
AggregatorgetName in interface Aggregatorpublic String asSparqlExpr(SerializationContext sCxt)
AggregatorasSparqlExpr in interface Aggregatorpublic String toPrefixString()
toPrefixString in interface Aggregatorpublic abstract int hashCode()
hashCode in interface AggregatorhashCode in class Objectpublic final boolean equals(Object other)
equals in interface Aggregatorequals in class ObjectLicenced under the Apache License, Version 2.0