Class PathCompiler

java.lang.Object
org.apache.jena.sparql.path.PathCompiler

public class PathCompiler extends Object
  • Constructor Details

    • PathCompiler

      public PathCompiler()
  • Method Details

    • resetForTest

      public static void resetForTest()
      Testing use only.
    • reduce

      public PathBlock reduce(PathBlock pathBlock)
      Simplify : turns constructs in simple triples and simpler TriplePaths where possible
    • reduce

      public PathBlock reduce(TriplePath triplePath)
      Algebra-based transformation.

      Does not include "|", this method is called by TransformPathFlatten. See TransformPathFlattenAlgebra for union expansion.

    • reduce

      public PathBlock reduce(org.apache.jena.graph.Node start, Path path, org.apache.jena.graph.Node finish)