Class TupleExprToIrConverter

java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.TupleExprToIrConverter

@Experimental public class TupleExprToIrConverter extends Object
Extracted converter that builds textual-IR from a TupleExpr. This class mirrors the TupleExpr→IR logic originally embedded in TupleExprIRRenderer; the renderer now delegates to this converter to build IR, and handles printing separately.
  • Constructor Details

  • Method Details

    • toIRSelectRaw

      public static IrSelect toIRSelectRaw(TupleExpr tupleExpr, TupleExprIRRenderer r)
      Build IrSelect; by default apply transforms (used for subselects).
    • toIRSelectRaw

      public static IrSelect toIRSelectRaw(TupleExpr tupleExpr, TupleExprIRRenderer r, boolean applyTransforms)
      Build IrSelect (raw). The applyTransforms argument is ignored; transforms are handled by the renderer.
    • toIRSelect

      public IrSelect toIRSelect(TupleExpr tupleExpr)
    • hasExplicitRootScope

      public static boolean hasExplicitRootScope(TupleExpr root)
      Public helper for renderer: whether the normalized root has explicit scope change.