public class IndexedTripleRouter extends OpRouterBase
OpRouterBase
Modifier and Type | Field and Description |
---|---|
static long |
accT |
Constructor and Description |
---|
IndexedTripleRouter(ExecContext ctx,
OpStream op) |
IndexedTripleRouter(ExecContext ctx,
com.hp.hpl.jena.sparql.algebra.op.OpTriple op,
com.hp.hpl.jena.graph.Node graph,
Window w) |
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
|
Window |
getWindow() |
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 |
update(EnQuad enQuad)
This method acts as a listener to catch data from Esper engine
|
void |
visit(RouterVisitor rv) |
_route, getId, getOp, route
public IndexedTripleRouter(ExecContext ctx, com.hp.hpl.jena.sparql.algebra.op.OpTriple op, com.hp.hpl.jena.graph.Node graph, Window w)
ctx
- execution contextop
- triplegraph
- w
- windowpublic IndexedTripleRouter(ExecContext ctx, OpStream op)
ctx
- execution contextop
- streampublic void update(EnQuad enQuad)
enQuad
- the quad coming inpublic MappingIterator searchBuff4Match(Mapping mapping)
OpRouter
searchBuff4Match
in interface OpRouter
searchBuff4Match
in class OpRouterBase
mapping
- the specified mappingpublic MappingIterator getBuff()
OpRouter
getBuff
in interface OpRouter
getBuff
in class OpRouterBase
public void visit(RouterVisitor rv)
public Window getWindow()