1RDF::Query::Algebra::AgUgsreergaCtoen(t3r)ibuted Perl DoRcDuFm:e:nQtuaetriyo:n:Algebra::Aggregate(3)
2
3
4
6 RDF::Query::Algebra::Aggregate - Algebra class for aggregate patterns
7
9 This document describes RDF::Query::Algebra::Aggregate version 2.918.
10
12 Beyond the methods documented below, this class inherits methods from
13 the RDF::Query::Algebra class.
14
15 "new ( $pattern, \@groupby, $alias =" [$op => $col] )>
16 "new ( $pattern, \@groupby, expressions =" [ $alias => [$op, \%options,
17 @cols] ] )>
18 Returns a new Aggregate structure. Groups by the named bindings in
19 @groupby, and returns new bindings for the named $alias for the
20 operation $op on column $col.
21
22 $op may be one of: COUNT, MIN, MAX, SUM.
23
24 "construct_args"
25 Returns a list of arguments that, passed to this class'
26 constructor, will produce a clone of this algebra pattern.
27
28 "pattern"
29 Returns the aggregates pattern.
30
31 "groupby"
32 Returns the aggregate's GROUP BY binding names.
33
34 "ops"
35 Returns a list of tuples as ARRAY refs containing "$alias, $op,
36 @cols".
37
38 "sse"
39 Returns the SSE string for this algebra expression.
40
41 "as_sparql"
42 Returns the SPARQL string for this algebra expression.
43
44 "as_hash"
45 Returns the query as a nested set of plain data structures (no
46 objects).
47
48 "type"
49 Returns the type of this algebra expression.
50
51 "referenced_variables"
52 Returns a list of the variable names used in this algebra
53 expression.
54
55 "potentially_bound"
56 Returns a list of the variable names used in this algebra
57 expression that will bind values during execution.
58
59 "definite_variables"
60 Returns a list of the variable names that will be bound after
61 evaluating this algebra expression.
62
64 Gregory Todd Williams <gwilliams@cpan.org>
65
66
67
68perl v5.34.0 2022-01-21 RDF::Query::Algebra::Aggregate(3)