public abstract class OpRouterBase extends java.lang.Object implements OpRouter
OpRouter
Constructor and Description |
---|
OpRouterBase(ExecContext context,
com.hp.hpl.jena.sparql.algebra.Op op) |
Modifier and Type | Method and Description |
---|---|
void |
_route(Mapping mapping) |
MappingIterator |
getBuff()
Each specific router contains a data buffer in the form of mappings
This method will get that data buffer out
|
int |
getId()
Each specific router has a unique Id
This method will get that Id out
|
com.hp.hpl.jena.sparql.algebra.Op |
getOp()
Each specific router contains an operator what is parsed from the query
This method will get that op out
|
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.
|
public OpRouterBase(ExecContext context, com.hp.hpl.jena.sparql.algebra.Op op)
public com.hp.hpl.jena.sparql.algebra.Op getOp()
OpRouter
public int getId()
OpRouter
public void _route(Mapping mapping)
public void route(Mapping mapping)
OpRouter
public MappingIterator searchBuff4Match(Mapping mapping)
OpRouter
searchBuff4Match
in interface OpRouter
mapping
- the specified mappingpublic MappingIterator getBuff()
OpRouter