Class PlanNodeBodyServiceQuery

    • Constructor Detail

      • PlanNodeBodyServiceQuery

        public PlanNodeBodyServiceQuery​(IRI theServiceIri,
                                        com.complexible.stardog.plan.PlanNode body)
    • Method Detail

      • getSubjectVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getSubjectVars()
        Overrides:
        getSubjectVars in class ServiceQuery
      • getPredicateVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getPredicateVars()
        Overrides:
        getPredicateVars in class ServiceQuery
      • getObjectVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getObjectVars()
        Overrides:
        getObjectVars in class ServiceQuery
      • getContextVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getContextVars()
        Overrides:
        getContextVars in class ServiceQuery
      • body

        public com.complexible.stardog.plan.PlanNode body()
      • replaceBodyTerms

        public com.complexible.stardog.plan.PlanNode replaceBodyTerms​(com.complexible.stardog.plan.util.PlanNodeVarReplacer termReplacer,
                                                                      com.complexible.stardog.plan.ServicePlanNode node)
        The default implementation of query term replacement in a service body represented as a plan node
      • replaceBodyTerms

        public com.complexible.stardog.plan.PlanNode replaceBodyTerms​(com.complexible.stardog.plan.util.PlanNodeVarReplacer termReplacer,
                                                                      com.complexible.stardog.plan.ServicePlanNode node,
                                                                      java.util.Set<java.lang.Integer> nonReplaceableVars)
        The implementation of query term replacement in a service body represented as a plan node with a set of variables which cannot be replaced
      • getAssuredVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getAssuredVars()
        Description copied from class: ServiceQuery
        What are the vars guaranteed to be bound by this query?
        Specified by:
        getAssuredVars in class ServiceQuery
      • getAllVars

        public com.google.common.collect.ImmutableSet<java.lang.Integer> getAllVars()
        Specified by:
        getAllVars in class ServiceQuery
      • explain

        public java.lang.String explain​(com.complexible.stardog.plan.PlanVarInfo theVarInfo)
        Description copied from class: ServiceQuery
        Returns an explain string for the service invocation
        Specified by:
        explain in class ServiceQuery
        Returns:
        an explain string for the service invocation or null if there is no custom explanation
      • explainVerbose

        public java.lang.String explainVerbose​(com.complexible.stardog.plan.PlanVarInfo theVarInfo)
        Description copied from class: ServiceQuery
        Returns an explain string for the service invocation in a parsable verbose format
        Specified by:
        explainVerbose in class ServiceQuery
        Returns:
        an explain string in verbose format
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in class ServiceQuery
      • getTermPositionPredicate

        public com.complexible.stardog.plan.cache.TermPositionPredicate getTermPositionPredicate()