Class ZeroLengthPath

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

public class ZeroLengthPath extends AbstractQueryModelNode implements TupleExpr
A tuple expression that matches a path of length zero 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:
  • Constructor Details

    • ZeroLengthPath

      public ZeroLengthPath()
    • ZeroLengthPath

      public ZeroLengthPath(Var subject, Var object)
      Creates a zero-length path that matches a subject-, predicate- and object variable against statements from all contexts.
    • ZeroLengthPath

      public ZeroLengthPath(StatementPattern.Scope scope, Var subject, Var object)
      Creates a zero-length path that matches a subject-, predicate- and object variable against statements from the specified context scope.
    • ZeroLengthPath

      public ZeroLengthPath(Var subject, Var object, Var context)
      Creates a zero-length path that matches a subject-, predicate-, object- and context variable against statements from all contexts.
    • ZeroLengthPath

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