Class DescribeBNodeClosure

  • All Implemented Interfaces:
    DescribeHandler

    public class DescribeBNodeClosure
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describe​(Resource r)
      Called on everything resource found by a query.
      void finish()
      Finish the description process for this query execution
      void start​(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 Detail

      • DescribeBNodeClosure

        public DescribeBNodeClosure()
    • Method Detail

      • 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