Class ConstructorBuilder

java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.ConstructorBuilder

@InternalUseOnly public class ConstructorBuilder extends Object
  • Constructor Details

    • ConstructorBuilder

      public ConstructorBuilder()
  • Method Details

    • buildConstructor

      public TupleExpr buildConstructor(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced)
    • buildConstructor

      public TupleExpr buildConstructor(TupleExpr bodyExpr, boolean distinct, boolean reduced) throws MalformedQueryException
      Throws:
      MalformedQueryException
    • buildConstructor

      private TupleExpr buildConstructor(TupleExpr bodyExpr, TupleExpr constructExpr, boolean explicitConstructor, boolean distinct, boolean reduced)
    • getConstructVars

      private Set<Var> getConstructVars(Collection<StatementPattern> statementPatterns)
      Gets the set of variables that are relevant for the constructor. This method accumulates all subject, predicate and object variables from the supplied statement patterns, but ignores any context variables.