com.hp.hpl.jena.sparql.algebra
Class OpVars

java.lang.Object
  extended by com.hp.hpl.jena.sparql.algebra.OpVars

public class OpVars
extends Object

Get vars for a pattern


Constructor Summary
OpVars()
           
 
Method Summary
static Set<Var> fixedVars(Op op)
          The set of variables that wil be in every solution of this Op
static void fixedVars(Op op, Set<Var> acc)
           
static Collection<Var> mentionedVars(Op op)
           
static void mentionedVars(Op op, Set<Var> acc)
           
static Tuple<Set<Var>> mentionedVarsByPosition(Op... ops)
           
static Tuple<Set<Var>> mentionedVarsByPosition(Op op)
           
static Set<Var> patternVars(Op op)
          Deprecated. use visibleVars(com.hp.hpl.jena.sparql.algebra.Op)
static Collection<Var> vars(BasicPattern pattern)
          Deprecated. Use VarUtils.addVars
static void vars(BasicPattern pattern, Collection<Var> acc)
          Deprecated. Use VarUtils.addVars
static Set<Var> visibleVars(Op op)
           
static void visibleVars(Op op, Set<Var> acc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpVars

public OpVars()
Method Detail

patternVars

@Deprecated
public static Set<Var> patternVars(Op op)
Deprecated. use visibleVars(com.hp.hpl.jena.sparql.algebra.Op)


visibleVars

public static Set<Var> visibleVars(Op op)

visibleVars

public static void visibleVars(Op op,
                               Set<Var> acc)

fixedVars

public static Set<Var> fixedVars(Op op)
The set of variables that wil be in every solution of this Op


fixedVars

public static void fixedVars(Op op,
                             Set<Var> acc)

mentionedVarsByPosition

public static Tuple<Set<Var>> mentionedVarsByPosition(Op op)

mentionedVarsByPosition

public static Tuple<Set<Var>> mentionedVarsByPosition(Op... ops)

mentionedVars

public static Collection<Var> mentionedVars(Op op)

mentionedVars

public static void mentionedVars(Op op,
                                 Set<Var> acc)

vars

@Deprecated
public static Collection<Var> vars(BasicPattern pattern)
Deprecated. Use VarUtils.addVars


vars

@Deprecated
public static void vars(BasicPattern pattern,
                                   Collection<Var> acc)
Deprecated. Use VarUtils.addVars



Licenced under the Apache License, Version 2.0