public class BDBGraphPatternRouter extends OpRouterBase
OpRouterBase
Constructor and Description |
---|
BDBGraphPatternRouter(ExecContext context,
com.hp.hpl.jena.sparql.algebra.Op op)
The constructor
|
BDBGraphPatternRouter(ExecContext context,
com.hp.hpl.jena.sparql.algebra.Op op,
com.hp.hpl.jena.sparql.core.DatasetGraph ds)
The constructor
|
Modifier and Type | Method and Description |
---|---|
MappingIterator |
getBuff()
Each specific router contains a data buffer in the form of mappings
This method will get that data buffer out
|
MappingIterator |
iterator() |
MappingIterator |
searchBuff4Match(Mapping mapping)
This method tries to search in the data mapping buffer whether there is any
mapping that matches the specified mapping.
|
void |
visit(RouterVisitor rv) |
_route, getId, getOp, route
public BDBGraphPatternRouter(ExecContext context, com.hp.hpl.jena.sparql.algebra.Op op)
context
- op
- public BDBGraphPatternRouter(ExecContext context, com.hp.hpl.jena.sparql.algebra.Op op, com.hp.hpl.jena.sparql.core.DatasetGraph ds)
context
- op
- ds
- public MappingIterator getBuff()
OpRouter
getBuff
in interface OpRouter
getBuff
in class OpRouterBase
public MappingIterator searchBuff4Match(Mapping mapping)
OpRouter
searchBuff4Match
in interface OpRouter
searchBuff4Match
in class OpRouterBase
mapping
- the specified mappingpublic MappingIterator iterator()
public void visit(RouterVisitor rv)