| java.lang.Object org.openrdf.query.algebra.QueryModelNodeBase org.openrdf.query.algebra.StatementPattern
StatementPattern | public class StatementPattern extends QueryModelNodeBase implements TupleExpr(Code) | | A tuple expression that matches a statement pattern against an RDF graph.
Statement patterns can be targeted at one of three context scopes: all
contexts, null context only, or named contexts only.
|
Inner Class :public enum Scope | |
Constructor Summary | |
public | StatementPattern() | public | StatementPattern(Var subject, Var predicate, Var object) Creates a statement pattern that matches a subject-, predicate- and object
variable against statements from all contexts. | public | StatementPattern(Scope scope, Var subject, Var predicate, Var object) Creates a statement pattern that matches a subject-, predicate- and object
variable against statements from the specified context scope. | public | StatementPattern(Var subject, Var predicate, Var object, Var context) Creates a statement pattern that matches a subject-, predicate-, object-
and context variable against statements from all contexts. | public | StatementPattern(Scope scope, Var subjVar, Var predVar, Var objVar, Var conVar) Creates a statement pattern that matches a subject-, predicate-, object-
and context variable against statements from the specified context scope. |
StatementPattern | public StatementPattern()(Code) | | |
StatementPattern | public StatementPattern(Var subject, Var predicate, Var object)(Code) | | Creates a statement pattern that matches a subject-, predicate- and object
variable against statements from all contexts.
|
StatementPattern | public StatementPattern(Scope scope, Var subject, Var predicate, Var object)(Code) | | Creates a statement pattern that matches a subject-, predicate- and object
variable against statements from the specified context scope.
|
StatementPattern | public StatementPattern(Var subject, Var predicate, Var object, Var context)(Code) | | Creates a statement pattern that matches a subject-, predicate-, object-
and context variable against statements from all contexts.
|
StatementPattern | public StatementPattern(Scope scope, Var subjVar, Var predVar, Var objVar, Var conVar)(Code) | | Creates a statement pattern that matches a subject-, predicate-, object-
and context variable against statements from the specified context scope.
|
getContextVar | public Var getContextVar()(Code) | | Returns the context variable, if available.
|
getPredicateVar | public Var getPredicateVar()(Code) | | |
getScope | public Scope getScope()(Code) | | Gets the context scope for the statement pattern.
|
getSubjectVar | public Var getSubjectVar()(Code) | | |
setContextVar | public void setContextVar(Var context)(Code) | | |
setObjectVar | public void setObjectVar(Var object)(Code) | | |
setPredicateVar | public void setPredicateVar(Var predicate)(Code) | | |
setScope | public void setScope(Scope scope)(Code) | | Sets the context scope for the statement pattern.
|
setSubjectVar | public void setSubjectVar(Var subject)(Code) | | |
|
|