Attean::AggregateExpression - Representation of aggregate expression trees
This document describes Attean::AggregateExpression version 0.017
The Attean::AggregateExpression class represents an expression tree where the
root node is an aggregate operation (e.g. SUM(?a) or COALESCE(?a/?b, ?c, 0)).
This role consumes the Attean::API::AggregateExpression role.
The following attributes exist:
- The name of the aggregate operator, from the allowable set:
COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, SAMPLE.
- A HASH reference of scalar variables. The only scalar
variable defined for SPARQL 1.1 is 'seperator', a string separator used
with the GROUP_CONCAT aggregate.
- A boolean indicating whether the aggregate should operate
over distinct term sets, or full multisets.
- A Attean::API::Variable object which will be bound to the
produced aggregate value in results.
Please report any bugs or feature requests to through the GitHub web interface
Gregory Todd Williams "<email@example.com>"
Copyright (c) 2014--2016 Gregory Todd Williams. This program is free software;
you can redistribute it and/or modify it under the same terms as Perl