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()
OpRouterpublic int getId()
OpRouterpublic void _route(Mapping mapping)
public void route(Mapping mapping)
OpRouterpublic MappingIterator searchBuff4Match(Mapping mapping)
OpRoutersearchBuff4Match in interface OpRoutermapping - the specified mappingpublic MappingIterator getBuff()
OpRouter