Class AggCustom
- java.lang.Object
-
- org.apache.jena.sparql.expr.aggregate.AggregatorBase
-
- org.apache.jena.sparql.expr.aggregate.AggCustom
-
- All Implemented Interfaces:
Aggregator
public class AggCustom extends AggregatorBase
Syntax element and framework execution for custom aggregates.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asSparqlExpr(SerializationContext sCxt)
Format as an (extended) SPARQL expressionAggregator
copy(ExprList exprs)
static Accumulator
createAccNull()
Accumulator
createAccumulator()
Create an accumulator for this aggregatorboolean
equals(Aggregator other, boolean bySyntax)
Consider this 'protected'Expr
getExpr()
java.lang.String
getIRI()
Node
getValueEmpty()
Value if there are no groups : return null for no resultint
hashCode()
java.lang.String
toPrefixString()
-
Methods inherited from class org.apache.jena.sparql.expr.aggregate.AggregatorBase
copyTransform, equals, getExprList, getName, getValue, key, toString
-
-
-
-
Constructor Detail
-
AggCustom
public AggCustom(java.lang.String iri, boolean distinct, ExprList exprs)
-
-
Method Detail
-
copy
public Aggregator copy(ExprList exprs)
-
asSparqlExpr
public java.lang.String asSparqlExpr(SerializationContext sCxt)
Description copied from interface:Aggregator
Format as an (extended) SPARQL expression- Specified by:
asSparqlExpr
in interfaceAggregator
- Overrides:
asSparqlExpr
in classAggregatorBase
-
toPrefixString
public java.lang.String toPrefixString()
- Specified by:
toPrefixString
in interfaceAggregator
- Overrides:
toPrefixString
in classAggregatorBase
-
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
-
getExpr
public Expr getExpr()
-
getIRI
public java.lang.String getIRI()
-
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()
-
-