Class SparqlTupleExprRenderer
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<Exception>
org.eclipse.rdf4j.queryrender.BaseTupleExprRenderer
org.eclipse.rdf4j.queryrender.sparql.SparqlTupleExprRenderer
- All Implemented Interfaces:
QueryModelVisitor<Exception>
Extends the BaseTupleExprRenderer to provide support for rendering tuple expressions as SPARQL queries.
- Author:
- Michael Grove
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.queryrender.BaseTupleExprRenderer
mDistinct, mExtensions, mLimit, mOffset, mOrdering, mProjection, mReduced
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
meet
(AggregateFunctionCall node) void
void
meet
(ArbitraryLengthPath node) void
void
void
void
meet
(Difference theOp) void
void
meet
(ExtensionElem node) void
void
meet
(FunctionCall node) void
void
void
meet
(Intersection theOp) void
meet
(IRIFunction node) void
void
void
void
void
void
void
meet
(LangMatches node) void
void
void
void
void
meet
(StatementPattern thePattern) void
void
void
meet
(ValueConstant node) void
Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it isprotected String
renderValueExpr
(ValueExpr theExpr) Render the given ValueExprvoid
reset()
Reset the state of the rendererMethods inherited from class org.eclipse.rdf4j.queryrender.BaseTupleExprRenderer
getExtensions, getLimit, getOffset, getOrdering, getProjection, isDistinct, isReduced, isSelect, isSPOElemList, meet, meet, meet, meet, meet, render, scrubVarName, toStatementPattern
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, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
-
Constructor Details
-
SparqlTupleExprRenderer
public SparqlTupleExprRenderer()
-
-
Method Details
-
reset
-
render
Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it is- Specified by:
render
in classBaseTupleExprRenderer
- Parameters:
theExpr
- the expression to render- Returns:
- the TupleExpr rendered in the query language syntax
- Throws:
Exception
- if there is an error while rendering
-
renderValueExpr
Render the given ValueExpr- Specified by:
renderValueExpr
in classBaseTupleExprRenderer
- Parameters:
theExpr
- the expr to render- Returns:
- the rendered expression
- Throws:
Exception
- if there is an error while rendering
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classBaseTupleExprRenderer
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classBaseTupleExprRenderer
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
-