Class ArbitraryLengthPath

java.lang.Object
org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
org.eclipse.rdf4j.query.algebra.ArbitraryLengthPath
All Implemented Interfaces:
Serializable, Cloneable, GraphPatternGroupable, QueryModelNode, TupleExpr, VariableScopeChange
Direct Known Subclasses:
ExclusiveArbitraryLengthPath

public class ArbitraryLengthPath extends AbstractQueryModelNode implements TupleExpr
A tuple expression that matches a path of arbitrary length against an RDF graph. They can can be targeted at one of three context scopes: all contexts, null context only, or named contexts only.
See Also:
Serialized Form
  • Constructor Details

    • ArbitraryLengthPath

      public ArbitraryLengthPath()
    • ArbitraryLengthPath

      public ArbitraryLengthPath(Var subject, TupleExpr pathExpression, Var object, long minLength)
      Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from all contexts.
    • ArbitraryLengthPath

      public ArbitraryLengthPath(StatementPattern.Scope scope, Var subject, TupleExpr pathExpression, Var object, long minLength)
      Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from the specified context scope.
    • ArbitraryLengthPath

      public ArbitraryLengthPath(Var subject, TupleExpr pathExpression, Var object, Var context, long minLength)
      Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against statements from all contexts.
    • ArbitraryLengthPath

      public ArbitraryLengthPath(StatementPattern.Scope scope, Var subjVar, TupleExpr pathExpression, Var objVar, Var conVar, long minLength)
      Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against statements from the specified context scope.
  • Method Details