@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); } }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); } }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); } }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); } }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); }
@Override public Set<IVariable<?>> getDesiredBound(StaticAnalysis sa) { return sa.getSpannedVariables(this, true, new HashSet<IVariable<?>>()); }
@Override public Set<IVariable<?>> getRequiredBound(StaticAnalysis sa) { final IValueExpressionNode vexp = getValueExpressionNode(); Set<IVariable<?>> requiredBound = new HashSet<IVariable<?>>(); if (vexp!=null && vexp instanceof ValueExpressionNode) { requiredBound = sa.getSpannedVariables( (ValueExpressionNode)vexp, true, requiredBound); } return requiredBound; }
@Override public Set<IVariable<?>> getRequiredBound(StaticAnalysis sa) { final IValueExpressionNode vexp = getValueExpressionNode(); Set<IVariable<?>> requiredBound = new HashSet<IVariable<?>>(); if (vexp!=null && vexp instanceof ValueExpressionNode) { requiredBound = sa.getSpannedVariables( (ValueExpressionNode)vexp, true, requiredBound); } return requiredBound; }
final Set<IVariable<?>> groupVars = getSpannedVariables(groupToLift, new LinkedHashSet<IVariable<?>>());
getSpannedVariables((BOp) c, true/* filters */, vars);
getSpannedVariables((BOp) c, true/* filters */, vars);
expectedWhereClause.add(Var.var("z")); assertEquals(expectedWhereClause, sa.getSpannedVariables( queryRoot.getWhereClause(), new LinkedHashSet<IVariable<?>>()));
expectedWhereClause.add(Var.var("z")); assertEquals(expectedWhereClause, sa.getSpannedVariables( queryRoot.getWhereClause(), new LinkedHashSet<IVariable<?>>()));
final Set<IVariable<?>> varSet = sa.getSpannedVariables( (BOp) serviceNode.getGraphPattern(), new LinkedHashSet<IVariable<?>>());
final Set<IVariable<?>> varSet = sa.getSpannedVariables( (BOp) serviceNode.getGraphPattern(), new LinkedHashSet<IVariable<?>>());
p2.setReduced(true); final Set<IVariable<?>> varSet = sa.getSpannedVariables( whereClause, new LinkedHashSet<IVariable<?>>());
p2.setReduced(true); final Set<IVariable<?>> varSet = sa.getSpannedVariables( whereClause, new LinkedHashSet<IVariable<?>>());
expectedWhereClause.add(Var.var("z")); assertEquals(expectedWhereClause, sa.getSpannedVariables( queryRoot.getWhereClause(), new LinkedHashSet<IVariable<?>>()));