Interface StatementTupleExpr

All Superinterfaces:
Cloneable, FedXTupleExpr, QueryModelNode, QueryRef, Serializable, TupleExpr, VariableExpr
All Known Implementing Classes:
CheckStatementPattern, ExclusiveGroup, ExclusiveStatement, FedXStatementPattern, StatementSourcePattern

public interface StatementTupleExpr extends FedXTupleExpr
Interface for any expression that can be evaluated
Author:
Andreas Schwarte
See Also:
  • Method Details

    • getId

      String getId()
      Returns:
      the id of this expr
    • getStatementSources

      List<StatementSource> getStatementSources()
      Returns:
      a list of sources that are relevant for evaluation of this expression
    • hasFreeVarsFor

      boolean hasFreeVarsFor(BindingSet binding)
      returns true iff this statement has free variables in the presence of the specified binding set
      Parameters:
      binding -
      Returns:
      whether the statement has free vars
    • evaluate

      Evaluate this expression using the provided bindings
      Parameters:
      bindings -
      Returns:
      the result iteration
      Throws:
      QueryEvaluationException