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, toStatementPatternmeet, 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, meetUpdateExprpublic void reset()
BaseTupleExprRendererreset in class BaseTupleExprRendererpublic String render(TupleExpr theExpr) throws Exception
BaseTupleExprRendererrender in class BaseTupleExprRenderertheExpr - the expression to renderException - if there is an error while renderingprotected String renderValueExpr(ValueExpr theExpr) throws Exception
BaseTupleExprRendererrenderValueExpr in class BaseTupleExprRenderertheExpr - 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>Exceptionpublic void meet(LeftJoin theJoin) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Union theOp) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Difference theOp) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Intersection theOp) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Filter theFilter) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(StatementPattern thePattern) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class BaseTupleExprRendererExceptionpublic void meet(Extension node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(ExtensionElem node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class BaseTupleExprRendererExceptionpublic void meet(FunctionCall node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(And node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Or node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Compare node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Bound node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(If theOp) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(In node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(SameTerm node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(IsURI node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(IsBNode node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(IsLiteral node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(IsNumeric node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Datatype node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(IRIFunction node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Str node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Regex node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Lang node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(LangMatches node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(ArbitraryLengthPath node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(ValueConstant node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>Exceptionpublic void meet(Var node) throws Exception
meet in interface QueryModelVisitor<Exception>meet in class AbstractQueryModelVisitor<Exception>ExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.