Class ConstructorBuilder

    • Constructor Detail

      • ConstructorBuilder

        public ConstructorBuilder()
    • Method Detail

      • buildConstructor

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

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

        private java.util.Set<Var> getConstructVars​(java.util.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.