Class QueryModelTreePrinter
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<RuntimeException>
org.eclipse.rdf4j.query.algebra.helpers.QueryModelTreePrinter
- All Implemented Interfaces:
QueryModelVisitor<RuntimeException>
QueryModelVisitor implementation that "prints" a tree representation of a query model. The tree representations is
printed to an internal character buffer and can be retrieved using
getTreeString()
. As an alternative, the
static utility method printTree(QueryModelNode)
can be used.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
meetNode
(QueryModelNode node) Method called by all of the other meet methods that are not overridden in subclasses.static String
printTree
(QueryModelNode node) Methods inherited from class org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
-
Constructor Details
-
QueryModelTreePrinter
public QueryModelTreePrinter()
-
-
Method Details
-
printTree
-
getTreeString
-
meetNode
Description copied from class:AbstractQueryModelVisitor
Method called by all of the other meet methods that are not overridden in subclasses. This method can be overridden in subclasses to define default behaviour when visiting nodes. The default behaviour of this method is to visit the node's children.- Overrides:
meetNode
in classAbstractQueryModelVisitor<RuntimeException>
- Parameters:
node
- The node that is being visited.
-