/** * Construct a GRAPH group having the specified child as its initial member. * * @param context * The variable or constant for the GRAPH group. * @param child * The initial child. */ public JoinGroupNode(final TermNode context, final IGroupMemberNode child) { super(); setContext(context); addChild(child); }
/** * Construct a GRAPH group having the specified child as its initial member. * * @param context * The variable or constant for the GRAPH group. * @param child * The initial child. */ public JoinGroupNode(final TermNode context, final IGroupMemberNode child) { super(); setContext(context); addChild(child); }
/** * Return a graph join group. * * @param context * The graph (named graph variable or IRI). * @param statements * The children (including any optional {@link HelperFlag}s). * * @return The group join group node. */ protected JoinGroupNode joinGroupNode(final TermNode context, final Object... statements) { final JoinGroupNode rslt = joinGroupNode(statements); rslt.setContext(context); return rslt; }
/** * Return a graph join group. * * @param context * The graph (named graph variable or IRI). * @param statements * The children (including any optional {@link HelperFlag}s). * * @return The group join group node. */ protected JoinGroupNode joinGroupNode(final TermNode context, final Object... statements) { final JoinGroupNode rslt = joinGroupNode(statements); rslt.setContext(context); return rslt; }
/** * Return a graph join group. * * @param context * The graph (named graph variable or IRI). * @param statements * The children (including any optional {@link HelperFlag}s). * * @return The group join group node. */ protected JoinGroupNode joinGroupNode(final TermNode context, final Object... statements) { final JoinGroupNode rslt = joinGroupNode(statements); rslt.setContext(context); return rslt; }
graphGroup.setContext(new VarNode("g")); whereClause.addChild(graphGroup); graphGroup.setContext(new VarNode("g")); expected.setWhereClause(graphGroup);
graphGroup.setContext(new VarNode("g")); whereClause.addChild(graphGroup); graphGroup.setContext(new VarNode("g")); expected.setWhereClause(graphGroup);
graphGroup.setContext(new VarNode("g")); whereClause.addChild(graphGroup); graphGroup.setContext(new VarNode("g")); expected.setWhereClause(graphGroup);
graphGroup.setContext(new VarNode("src")); graphGroup.addChild(new StatementPatternNode(new VarNode("s"), new VarNode("p"), new VarNode("o"), new VarNode("src"),
graphGroup.setContext(new ConstantNode(graphConst)); graphGroup.addChild(new StatementPatternNode(new VarNode("s"), new VarNode("p"), new VarNode("o"), new ConstantNode(
graphClause.setContext(new VarNode("g"));
joinGroup.setContext(new VarNode("src"));
graphGroup.setContext(new VarNode("src")); graphGroup.addChild(new StatementPatternNode(new VarNode("s"), new VarNode("p"), new VarNode("o"), new VarNode("src"),
graphGroup.setContext(new ConstantNode(graphConst)); graphGroup.addChild(new StatementPatternNode(new VarNode("s"), new VarNode("p"), new VarNode("o"), new ConstantNode(
whereClause.addChild(graphGroup); graphGroup.setContext(new VarNode("g")); expected.setWhereClause(whereClause); whereClause.setContext(new VarNode("g"));
joinGroup.setContext(new VarNode("src"));
graphClause.setContext(new VarNode("g"));
graphGroup.setContext(new ConstantNode(bookstore));
graphGroup.setContext(new ConstantNode(bookstore));
graphGroup.setContext(new ConstantNode(bookstore));