| RDF-Query documentation | view source | Contained in the RDF-Query distribution. |
RDF::Query::Algebra::Aggregate - Algebra class for aggregate patterns
This document describes RDF::Query::Algebra::Aggregate version 2.907.
Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.
new ( $pattern, \@groupby, $alias = [$op => $col] )>new ( $pattern, \@groupby, expressions = [ $alias => [$op, \%options, @cols] ] )>Returns a new Aggregate structure. Groups by the named bindings in @groupby,
and returns new bindings for the named $alias for the operation $op
on column $col.
$op may be one of: COUNT, MIN, MAX, SUM.
construct_argsReturns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
patternReturns the aggregates pattern.
groupbyReturns the aggregate's GROUP BY binding names.
opsReturns a list of tuples as ARRAY refs containing $alias, $op, @cols.
sseReturns the SSE string for this algebra expression.
as_sparqlReturns the SPARQL string for this algebra expression.
as_hashReturns the query as a nested set of plain data structures (no objects).
typeReturns the type of this algebra expression.
referenced_variablesReturns a list of the variable names used in this algebra expression.
potentially_boundReturns a list of the variable names used in this algebra expression that will bind values during execution.
definite_variablesReturns a list of the variable names that will be bound after evaluating this algebra expression.
Gregory Todd Williams <gwilliams@cpan.org>
| RDF-Query documentation | view source | Contained in the RDF-Query distribution. |