public class TupleExprBuilder extends AbstractASTVisitor
Modifier and Type | Class and Description |
---|---|
protected class |
TupleExprBuilder.SameTermCollector |
protected class |
TupleExprBuilder.VarCollector |
Constructor and Description |
---|
TupleExprBuilder(ValueFactory valueFactory) |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public TupleExprBuilder(ValueFactory valueFactory)
protected Var mapValueExprToVar(ValueExpr valueExpr)
valueExpr
- IllegalArgumentException
- if the supplied ValueExpr is null or of an unexpected type.protected Value getValueForExpr(ValueExpr valueExpr)
valueExpr
- IllegalArgumentException
- if the supplied ValueExpr is null or of an unexpected type.public TupleExpr visit(ASTQueryContainer node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTSelectQuery node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTSelect node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTConstructQuery node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTConstruct node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTDescribeQuery node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTDescribe node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public TupleExpr visit(ASTAskQuery node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Group visit(ASTGroupClause node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public String visit(ASTGroupCondition node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public List<OrderElem> visit(ASTOrderClause node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public OrderElem visit(ASTOrderCondition node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Long visit(ASTLimit node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Long visit(ASTOffset node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTGraphPatternGroup node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTServiceGraphPattern node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTOptionalGraphPattern node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTGraphGraphPattern node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTUnionGraphPattern node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTMinusGraphPattern node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTPropertyList propListNode, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTPathAlternative pathAltNode, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public PropertySetElem visit(ASTPathOneInPropertySet node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTPathSequence pathSeqNode, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTPropertyListPath propListNode, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public List<ValueExpr> visit(ASTObjectList node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Var visit(ASTBlankNodePropertyList node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Var visit(ASTCollection node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTConstraint node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Or visit(ASTOr node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTAnd node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Not visit(ASTNot node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Coalesce visit(ASTCoalesce node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Compare visit(ASTCompare node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSubstr node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTConcat node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTAbs node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTCeil node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTContains node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTFloor node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTRound node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTRand node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public SameTerm visit(ASTSameTerm node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Sample visit(ASTSample node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public MathExpr visit(ASTMath node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTFunctionCall node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTEncodeForURI node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTStr node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrDt node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrStarts node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrEnds node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrLen node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrAfter node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrBefore node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTUpperCase node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTLowerCase node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTStrLang node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTNow node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTYear node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTMonth node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTDay node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTHours node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTMinutes node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSeconds node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTTimezone node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTTz node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTMD5 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSHA1 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSHA224 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSHA256 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSHA384 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSHA512 node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTUUID node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTSTRUUID node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public IRIFunction visit(ASTIRIFunc node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Lang visit(ASTLang node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Datatype visit(ASTDatatype node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTLangMatches node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public BindingSetAssignment visit(ASTInlineData node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public BindingSetAssignment visit(ASTBindingsClause node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public BindingSet visit(ASTBindingSet node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueExpr visit(ASTBindingValue node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueExpr visit(ASTBound node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public IsURI visit(ASTIsIRI node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public IsBNode visit(ASTIsBlank node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public IsLiteral visit(ASTIsLiteral node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public IsNumeric visit(ASTIsNumeric node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTBNodeFunc node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTRegexExpression node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public FunctionCall visit(ASTReplace node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Exists visit(ASTExistsFunc node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Not visit(ASTNotExistsFunc node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public If visit(ASTIf node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueExpr visit(ASTInfix node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueExpr visit(ASTIn node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueExpr visit(ASTNotIn node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Var visit(ASTVar node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueConstant visit(ASTIRI node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTQName node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTBind node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTBlankNode node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueConstant visit(ASTRDFLiteral node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueConstant visit(ASTNumericLiteral node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueConstant visit(ASTTrue node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public ValueConstant visit(ASTFalse node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public String visit(ASTString node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTCount node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTGroupConcat node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTMax node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTMin node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTSum node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
public Object visit(ASTAvg node, Object data) throws VisitorException
visit
in interface SyntaxTreeBuilderVisitor
visit
in class AbstractASTVisitor
VisitorException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.