Constructor and Description |
---|
JoinRouter(ExecContext context,
com.hp.hpl.jena.sparql.algebra.op.OpJoin op,
OpRouter left,
OpRouter right) |
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
|
OpRouter |
getOtherChildRouter(Mapping mapping) |
void |
route(Mapping mapping)
This method route the specified mapping to higher node in the router-node tree
|
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
public JoinRouter(ExecContext context, com.hp.hpl.jena.sparql.algebra.op.OpJoin op, OpRouter left, OpRouter right)
public void route(Mapping mapping)
OpRouter
route
in interface OpRouter
route
in class OpRouterBase
mapping
- the specified mappingpublic 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 void visit(RouterVisitor rv)