rasdaman complete source
|
#include <qtintervalop.hh>
Public Member Functions | |
QtIntervalOp (QtOperation *input1, QtOperation *input2) | |
constructor getting the two operands More... | |
virtual bool | isCommutative () const |
returns FALSE saying that the operation IS NOT commutative More... | |
QtData * | evaluate (QtDataList *inputList) |
method for evaluating the node More... | |
virtual void | printTree (int tab, std::ostream &s=std::cout, QtChildType mode=QT_ALL_NODES) |
prints the tree More... | |
virtual void | printAlgebraicExpression (std::ostream &s=std::cout) |
prints the algebraic expression More... | |
virtual const QtNodeType | getNodeType () const |
method for identification of nodes More... | |
virtual const QtTypeElement & | checkType (QtTypeTuple *typeTuple=NULL) |
type checking of the subtree More... | |
![]() | |
QtBinaryOperation () | |
default constructor More... | |
QtBinaryOperation (QtNode *node) | |
constructor getting the node to the parent More... | |
QtBinaryOperation (QtOperation *input1, QtOperation *input2) | |
constructor getting pointers to its operands More... | |
virtual | ~QtBinaryOperation () |
virtual destructor More... | |
virtual void | simplify () |
simplifies the tree More... | |
virtual bool | equalMeaning (QtNode *node) |
test if the two nodes have an equal meaning in the query tree More... | |
virtual QtNodeList * | getChilds (QtChildType flag) |
return childs of the node More... | |
virtual std::string | getSpelling () |
creates a unique name for a subexpression More... | |
virtual QtAreaType | getAreaType () |
test if the edge to the parent node is of type mdd or atomic More... | |
virtual void | setInput (QtOperation *inputOld, QtOperation *inputNew) |
method for query rewrite More... | |
virtual void | optimizeLoad (QtTrimList *trimList) |
optimizing load access More... | |
void | setInput1 (QtOperation *input) |
void | setInput2 (QtOperation *input) |
QtOperation * | getInput1 () |
QtOperation * | getInput2 () |
![]() | |
QtOperation () | |
default constructor More... | |
QtOperation (QtNode *parent) | |
constructor getting a pointer to the parent More... | |
virtual QtOperation * | getUniqueOrder (const QtNode::QtNodeType ID) |
for associative law More... | |
void | printTree (int tab, std::ostream &s, QtChildType mode=QT_ALL_NODES) |
prints the tree More... | |
void | printAlgebraicExpression (std::ostream &s) |
prints the algebraic expression More... | |
void | setDataStreamType (const QtTypeElement &type) |
const QtTypeElement & | getDataStreamType () const |
![]() | |
QtNode () | |
default constructor More... | |
QtNode (QtNode *node) | |
constructor getting a pointer to the parent More... | |
virtual | ~QtNode () |
destructor More... | |
bool | subtype (enum QtNodeType a, enum QtNodeType b) |
returns weather class b is a subtype of class a More... | |
QtNodeList * | getChild (const QtNodeType node, QtChildType flag=QT_DIRECT_CHILDS) |
return childs of a certain class More... | |
enum QtNodeType | getQtNodeTypeParent (enum QtNodeType) |
method for pre optimizations (basically load optimization) More... | |
QtNode * | getParent () const |
void | setParent (QtNode *node) |
const ParseInfo & | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
QtIntervalOp::QtIntervalOp | ( | QtOperation * | input1, |
QtOperation * | input2 | ||
) |
constructor getting the two operands
|
virtual |
type checking of the subtree
Reimplemented from QtOperation.
|
virtual |
method for evaluating the node
Reimplemented from QtOperation.
|
inlinevirtual |
method for identification of nodes
Reimplemented from QtNode.
|
virtual |
returns FALSE saying that the operation IS NOT commutative
Reimplemented from QtBinaryOperation.
|
virtual |
prints the algebraic expression
Implements QtNode.
|
virtual |
prints the tree
Reimplemented from QtBinaryOperation.