Class QueryTransformOps


  • public class QueryTransformOps
    extends java.lang.Object
    Support for transformation of query abstract syntax.
    • Constructor Detail

      • QueryTransformOps

        public QueryTransformOps()
    • Method Detail

      • transform

        public static Query transform​(Query query,
                                      java.util.Map<Var,​? extends Node> substitutions)
        Transform a query based on a mapping from Var variable to replacement Node.
      • transformQuery

        public static Query transformQuery​(Query query,
                                           java.util.Map<java.lang.String,​? extends RDFNode> substitutions)
        Transform a query based on a mapping from variable name to replacement RDFNode (a Resource (or blank node) or a Literal).
      • shallowCopy

        public static Query shallowCopy​(Query query)