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(And node) |
void |
meet(ArbitraryLengthPath node) |
void |
meet(Bound node) |
void |
meet(Compare node) |
void |
meet(Datatype node) |
void |
meet(Difference theOp) |
void |
meet(Extension node) |
void |
meet(ExtensionElem node) |
void |
meet(Filter theFilter) |
void |
meet(FunctionCall node) |
void |
meet(If theOp) |
void |
meet(In node) |
void |
meet(Intersection theOp) |
void |
meet(IRIFunction node) |
void |
meet(IsBNode node) |
void |
meet(IsLiteral node) |
void |
meet(IsNumeric node) |
void |
meet(IsURI node) |
void |
meet(Join theJoin) |
void |
meet(Lang node) |
void |
meet(LangMatches node) |
void |
meet(LeftJoin theJoin) |
void |
meet(Or node) |
void |
meet(Regex node) |
void |
meet(SameTerm node) |
void |
meet(StatementPattern thePattern) |
void |
meet(Str node) |
void |
meet(Union theOp) |
void |
meet(ValueConstant node) |
void |
meet(Var node) |
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, 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, 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
public void meet(Extension node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(ExtensionElem node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class BaseTupleExprRenderer
Exception
public void meet(FunctionCall node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(And node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Or node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Compare node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Bound node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(If theOp) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(In node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(SameTerm node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(IsURI node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(IsBNode node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(IsLiteral node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(IsNumeric node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Datatype node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(IRIFunction node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Str node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Regex node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Lang node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(LangMatches node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(ArbitraryLengthPath node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(ValueConstant node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
public void meet(Var node) throws Exception
meet
in interface QueryModelVisitor<Exception>
meet
in class AbstractQueryModelVisitor<Exception>
Exception
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.