NAME
Attean::AggregateExpression - Representation of aggregate expression trees
VERSION
This document describes Attean::AggregateExpression version 0.028
DESCRIPTION
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)).
ROLES
This role consumes the Attean::API::AggregateExpression role.
ATTRIBUTES
The following attributes exist:
operator
-
The name of the aggregate operator, from the allowable set: COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, SAMPLE.
scalar_vars
-
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. distinct
-
A boolean indicating whether the aggregate should operate over distinct term sets, or full multisets.
variable
-
A Attean::API::Variable object which will be bound to the produced aggregate value in results.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
SEE ALSO
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
COPYRIGHT
Copyright (c) 2014--2020 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.