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 Details

    • DescribeBNodeClosure

      public DescribeBNodeClosure()
  • Method Details

    • start

      public void start(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(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