|
souffle
2.0.2-371-g6315b36
|
Aggregate over values of a relation using an index in parallel. More...
#include <ParallelIndexAggregate.h>


Public Member Functions | |
| ParallelIndexAggregate * | clone () const override |
| Create a clone (i.e. More... | |
| ParallelIndexAggregate (Own< Operation > nested, AggregateOp fun, std::string rel, Own< Expression > expression, Own< Condition > condition, RamPattern queryPattern, int ident) | |
Public Member Functions inherited from souffle::ram::IndexAggregate | |
| void | apply (const NodeMapper &map) override |
| Apply the mapper to all child nodes. More... | |
| std::vector< const Node * > | getChildNodes () const override |
| Obtain list of all embedded child nodes. More... | |
| IndexAggregate (Own< Operation > nested, AggregateOp fun, std::string rel, Own< Expression > expression, Own< Condition > condition, RamPattern queryPattern, int ident) | |
Public Member Functions inherited from souffle::ram::IndexOperation | |
| void | apply (const NodeMapper &map) override |
| Apply the mapper to all child nodes. More... | |
| std::vector< const Node * > | getChildNodes () const override |
| Obtain list of all embedded child nodes. More... | |
| std::pair< std::vector< Expression * >, std::vector< Expression * > > | getRangePattern () const |
| Get range pattern. More... | |
| IndexOperation (std::string rel, int ident, RamPattern queryPattern, Own< Operation > nested, std::string profileText="") | |
| void | printIndex (std::ostream &os) const |
| Helper method for printing. More... | |
Public Member Functions inherited from souffle::ram::RelationOperation | |
| const std::string & | getRelation () const |
| Get search relation. More... | |
| RelationOperation (std::string rel, int ident, Own< Operation > nested, std::string profileText="") | |
Public Member Functions inherited from souffle::ram::TupleOperation | |
| std::vector< const Node * > | getChildNodes () const override |
| Obtain list of all embedded child nodes. More... | |
| int | getTupleId () const |
| Get identifier. More... | |
| void | setTupleId (int id) |
| Set identifier. More... | |
| TupleOperation (int ident, Own< Operation > nested, std::string profileText="") | |
Public Member Functions inherited from souffle::ram::NestedOperation | |
| void | apply (const NodeMapper &map) override |
| Apply the mapper to all child nodes. More... | |
| Operation & | getOperation () const |
| Get nested operation. More... | |
| const std::string & | getProfileText () const |
| Get profile text. More... | |
| NestedOperation (Own< Operation > nested, std::string profileText="") | |
Public Member Functions inherited from souffle::ram::Node | |
| bool | operator!= (const Node &other) const |
| Inequality check for two RAM nodes. More... | |
| bool | operator== (const Node &other) const |
| Equivalence check for two RAM nodes. More... | |
| virtual void | rewrite (const Node *oldNode, Own< Node > newNode) |
| Rewrite a child node. More... | |
| virtual | ~Node ()=default |
Public Member Functions inherited from souffle::ram::AbstractAggregate | |
| AbstractAggregate (AggregateOp fun, Own< Expression > expr, Own< Condition > cond) | |
| std::vector< const Node * > | getChildNodes () const |
| const Condition & | getCondition () const |
| Get condition. More... | |
| const Expression & | getExpression () const |
| Get target expression. More... | |
| AggregateOp | getFunction () const |
| Get aggregation function. More... | |
| virtual | ~AbstractAggregate ()=default |
Protected Member Functions | |
| void | print (std::ostream &os, int tabpos) const override |
| Pretty print with indentation. More... | |
Protected Member Functions inherited from souffle::ram::IndexAggregate | |
| bool | equal (const Node &node) const override |
| Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::IndexOperation | |
| bool | equal (const Node &node) const override |
| Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::RelationOperation | |
| bool | equal (const Node &node) const override |
| Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::TupleOperation | |
| bool | equal (const Node &node) const override |
| Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::Operation | |
| void | print (std::ostream &os) const override |
| Print RAM node. More... | |
Protected Member Functions inherited from souffle::ram::AbstractAggregate | |
| bool | equal (const Node &node) const |
| void | print (std::ostream &os, int) const |
Additional Inherited Members | |
Static Protected Member Functions inherited from souffle::ram::Operation | |
| static void | print (const Operation *operation, std::ostream &os, int tabpos) |
| Pretty print jump-bed. More... | |
Protected Attributes inherited from souffle::ram::IndexOperation | |
| RamPattern | queryPattern |
| Values of index per column of table (if indexable) More... | |
Protected Attributes inherited from souffle::ram::RelationOperation | |
| const std::string | relation |
| Search relation. More... | |
Protected Attributes inherited from souffle::ram::TupleOperation | |
| int | identifier |
| Identifier for the tuple, corresponding to its position in the loop nest. More... | |
Protected Attributes inherited from souffle::ram::NestedOperation | |
| Own< Operation > | nestedOperation |
| Nested operation. More... | |
| const std::string | profileText |
| Text used by the profiler. More... | |
Protected Attributes inherited from souffle::ram::AbstractAggregate | |
| Own< Condition > | condition |
| Aggregation tuple condition. More... | |
| Own< Expression > | expression |
| Aggregation expression. More... | |
| const AggregateOp | function |
| Aggregation function. More... | |
Aggregate over values of a relation using an index in parallel.
For example:
Definition at line 52 of file ParallelIndexAggregate.h.
|
inline |
Definition at line 54 of file ParallelIndexAggregate.h.
References i, and souffle::ram::IndexOperation::queryPattern.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Reimplemented from souffle::ram::IndexAggregate.
Definition at line 59 of file ParallelIndexAggregate.h.
|
inlineoverrideprotectedvirtual |
Pretty print with indentation.
Reimplemented from souffle::ram::IndexAggregate.
Definition at line 72 of file ParallelIndexAggregate.h.
1.8.17