Class CanonicalizeUnionBranchOrderTransform

java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.ir.util.transform.BaseTransform
org.eclipse.rdf4j.queryrender.sparql.ir.util.transform.CanonicalizeUnionBranchOrderTransform

public final class CanonicalizeUnionBranchOrderTransform extends BaseTransform
Preserve UNION branch order while optionally normalizing inside each branch. Note: Despite the original intent expressed in earlier comments to reorder branches based on projection, the current implementation keeps original UNION branch order for textual stability and alignment with tests, and only recurses into branches to apply inner rewrites.