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

    Modifier and Type
    Method
    Description
    void
    describe(org.apache.jena.rdf.model.Resource resource)
    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 qContext)
    Start the describe process, passing in the result model.
  • Method Details

    • start

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

      void describe(org.apache.jena.rdf.model.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