Class Transformer

java.lang.Object
org.apache.jena.sparql.algebra.Transformer

public class Transformer extends Object
A bottom-top application of a transformation of SPARQL algebra
  • Constructor Details

    • Transformer

      public Transformer()
  • Method Details

    • get

      public static Transformer get()
      Get the current transformer
    • set

      public static void set(Transformer value)
      Set the current transformer - use with care
    • transform

      public static Op transform(Transform transform, Op op)
      Transform an algebra expression
    • transform

      public static Op transform(Transform transform, ExprTransform exprTransform, Op op)
      Transform an algebra expression and the expressions
    • transform

      public static Op transform(Transform transform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
      Transformation with specific Transform and default ExprTransform (apply transform inside pattern expressions like NOT EXISTS)
    • transform

      public static Op transform(Transform transform, ExprTransform exprTransform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
      Transformation with specific Transform and ExprTransform applied
    • transformSkipService

      public static Op transformSkipService(Transform transform, Op op)
      Transform an algebra expression except skip (leave alone) any OpService nodes
    • transformSkipService

      public static Op transformSkipService(Transform transform, ExprTransform exprTransform, Op op)
      Transform an algebra expression except skip (leave alone) any OpService nodes
    • transformSkipService

      public static Op transformSkipService(Transform opTransform, ExprTransform exprTransform, Op op, OpVisitor beforeVisitor, OpVisitor afterVisitor)
      Transform an algebra expression except skip (leave alone) any OpService nodes