Interface DescribeHandler

  • All Known Implementing Classes:
    DescribeBNodeClosure

    public interface DescribeHandler
    A DescribeHandler provides the description of a resource. DESCRIBE queries return RDF that describes the resource found, either from the query pattern or explicitly named in the DESCRIBE clause. For each resource, any handlers are called to builds the RDF model that is to be the result of the query.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void describe​(Resource resource)
      Called on everything resource found by a query.
      void finish()
      Finish the description process for this query execution
      void start​(Model accumulateResultModel, Context qContext)
      Start the describe process, passing in the result model.
    • Method Detail

      • start

        void start​(Model accumulateResultModel,
                   Context qContext)
        Start the describe process, passing in the result model.
        Parameters:
        accumulateResultModel -
        qContext - Query execution context
      • describe

        void describe​(Resource resource)
        Called on everything resource found by a query. Can add more RDF to the model provided. May choose to add nothing.
        Parameters:
        resource - resource to describe
      • finish

        void finish()
        Finish the description process for this query execution