com.hp.hpl.jena.sparql.path
Class PathLib

java.lang.Object
  extended by com.hp.hpl.jena.sparql.path.PathLib

public class PathLib
extends Object


Constructor Summary
PathLib()
           
 
Method Summary
static QueryIterator execTriplePath(Binding binding, com.hp.hpl.jena.graph.Node s, Path path, com.hp.hpl.jena.graph.Node o, ExecutionContext execCxt)
           
static QueryIterator execTriplePath(Binding binding, TriplePath triplePath, ExecutionContext execCxt)
           
static void install(String uri, Path path)
          Install a path as a property function in the global property function registry
static void install(String uri, Path path, PropertyFunctionRegistry registry)
          Install a path as a property function in a given registry
static Op pathToTriples(PathBlock pattern)
          Convert any paths of exactly one predicate to a triple pattern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathLib

public PathLib()
Method Detail

pathToTriples

public static Op pathToTriples(PathBlock pattern)
Convert any paths of exactly one predicate to a triple pattern


install

public static void install(String uri,
                           Path path)
Install a path as a property function in the global property function registry


install

public static void install(String uri,
                           Path path,
                           PropertyFunctionRegistry registry)
Install a path as a property function in a given registry


execTriplePath

public static QueryIterator execTriplePath(Binding binding,
                                           TriplePath triplePath,
                                           ExecutionContext execCxt)

execTriplePath

public static QueryIterator execTriplePath(Binding binding,
                                           com.hp.hpl.jena.graph.Node s,
                                           Path path,
                                           com.hp.hpl.jena.graph.Node o,
                                           ExecutionContext execCxt)


Licenced under the Apache License, Version 2.0