public interface OpRouter
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
|
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.
|
void |
visit(RouterVisitor rv) |
com.hp.hpl.jena.sparql.algebra.Op getOp()
MappingIterator getBuff()
MappingIterator searchBuff4Match(Mapping mapping)
mapping
- the specified mappingvoid route(Mapping mapping)
mapping
- the specified mappingint getId()
void visit(RouterVisitor rv)