Class DescribeBNodeClosure

java.lang.Object
org.apache.jena.sparql.core.describe.DescribeBNodeClosure
All Implemented Interfaces:
DescribeHandler

public class DescribeBNodeClosure extends Object implements DescribeHandler
DescribeHandler that calculates the bNode closure. Takes all the statements of this resource, and for every object that is a bNode, it recursively includes its statements.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describe(org.apache.jena.rdf.model.Resource r)
    Called on everything resource found by a query.
    void
    Finish the description process for this query execution
    void
    start(org.apache.jena.rdf.model.Model accumulateResultModel, Context cxt)
    Start the describe process, passing in the result model.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DescribeBNodeClosure

      public DescribeBNodeClosure()
  • Method Details

    • start

      public void start(org.apache.jena.rdf.model.Model accumulateResultModel, Context cxt)
      Description copied from interface: DescribeHandler
      Start the describe process, passing in the result model.
      Specified by:
      start in interface DescribeHandler
      cxt - Query execution context
    • describe

      public void describe(org.apache.jena.rdf.model.Resource r)
      Description copied from interface: DescribeHandler
      Called on everything resource found by a query. Can add more RDF to the model provided. May choose to add nothing.
      Specified by:
      describe in interface DescribeHandler
      Parameters:
      r - resource to describe
    • finish

      public void finish()
      Description copied from interface: DescribeHandler
      Finish the description process for this query execution
      Specified by:
      finish in interface DescribeHandler