Class DescribeBNodeClosure
- java.lang.Object
-
- org.apache.jena.sparql.core.describe.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.
-
-
Constructor Summary
Constructors Constructor Description DescribeBNodeClosure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribe(Resource r)Called on everything resource found by a query.voidfinish()Finish the description process for this query executionvoidstart(Model accumulateResultModel, Context cxt)Start the describe process, passing in the result model.
-
-
-
Method Detail
-
start
public void start(Model accumulateResultModel, Context cxt)
Description copied from interface:DescribeHandlerStart the describe process, passing in the result model.- Specified by:
startin interfaceDescribeHandlercxt- Query execution context
-
describe
public void describe(Resource r)
Description copied from interface:DescribeHandlerCalled on everything resource found by a query. Can add more RDF to the model provided. May choose to add nothing.- Specified by:
describein interfaceDescribeHandler- Parameters:
r- resource to describe
-
finish
public void finish()
Description copied from interface:DescribeHandlerFinish the description process for this query execution- Specified by:
finishin interfaceDescribeHandler
-
-