public final class SparqlTupleExprRenderer extends BaseTupleExprRenderer
Extends the BaseTupleExprRenderer to provide support for rendering tuple expressions as SPARQL queries.
mDistinct, mExtensions, mLimit, mOffset, mOrdering, mProjection, mReduced
Constructor and Description |
---|
SparqlTupleExprRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
meet(Difference theOp) |
void |
meet(Filter theFilter) |
void |
meet(Intersection theOp) |
void |
meet(Join theJoin) |
void |
meet(LeftJoin theJoin) |
void |
meet(StatementPattern thePattern) |
void |
meet(Union theOp) |
String |
render(TupleExpr theExpr)
Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it is
|
protected String |
renderValueExpr(ValueExpr theExpr)
Render the given ValueExpr
|
void |
reset()
Reset the state of the renderer
|
getExtensions, getLimit, getOffset, getOrdering, getProjection, isDistinct, isReduced, isSelect, isSPOElemList, meet, meet, meet, meet, meet, meet, render, scrubVarName, toStatementPattern
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, meetNode, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
public void reset()
BaseTupleExprRenderer
reset
in class BaseTupleExprRenderer
public String render(TupleExpr theExpr) throws Exception
BaseTupleExprRenderer
render
in class BaseTupleExprRenderer
theExpr
- the expression to renderException
- if there is an error while renderingprotected String renderValueExpr(ValueExpr theExpr) throws Exception
BaseTupleExprRenderer
renderValueExpr
in class BaseTupleExprRenderer
theExpr
- the expr to renderException
- if there is an error while renderingpublic void meet(Join theJoin) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(LeftJoin theJoin) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Union theOp) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Difference theOp) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Intersection theOp) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Filter theFilter) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(StatementPattern thePattern) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class BaseTupleExprRenderer
Exception
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.