souffle
2.0.2-371-g6315b36
|
#include <IndexOperation.h>
Public Member Functions | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
IndexOperation * | clone () const override |
Create a clone (i.e. 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 |
Protected Member Functions | |
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::NestedOperation | |
void | print (std::ostream &os, int tabpos) const override |
Pretty print with indentation. More... | |
Protected Member Functions inherited from souffle::ram::Operation | |
void | print (std::ostream &os) const override |
Print RAM node. More... | |
Protected Attributes | |
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... | |
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... | |
Definition at line 48 of file IndexOperation.h.
|
inline |
Definition at line 50 of file IndexOperation.h.
|
inlineoverridevirtual |
Apply the mapper to all child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 85 of file IndexOperation.h.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::RelationOperation.
Reimplemented in souffle::ram::ParallelIndexChoice, souffle::ram::ParallelIndexScan, souffle::ram::IndexScan, and souffle::ram::ParallelIndexAggregate.
Definition at line 95 of file IndexOperation.h.
|
inlineoverrideprotectedvirtual |
Equality check for two RAM nodes.
Default action is that nothing needs to be checked.
Reimplemented from souffle::ram::Node.
Definition at line 153 of file IndexOperation.h.
|
inlineoverridevirtual |
Obtain list of all embedded child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 74 of file IndexOperation.h.
Referenced by souffle::ram::IndexAggregate::IndexAggregate().
|
inline |
Get range pattern.
Definition at line 70 of file IndexOperation.h.
References souffle::ram::TupleOperation::getChildNodes(), and queryPattern.
Referenced by souffle::ram::IndexChoice::IndexChoice().
|
inline |
Helper method for printing.
Definition at line 108 of file IndexOperation.h.
|
protected |
Values of index per column of table (if indexable)
Definition at line 161 of file IndexOperation.h.
Referenced by getRangePattern(), souffle::ram::IndexScan::IndexScan(), souffle::ram::ParallelIndexAggregate::ParallelIndexAggregate(), souffle::ram::ParallelIndexChoice::ParallelIndexChoice(), and souffle::ram::ParallelIndexScan::ParallelIndexScan().