|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.modify.UpdateEngineBase
com.hp.hpl.jena.sparql.modify.UpdateEngineMain
com.hp.hpl.jena.sparql.modify.UpdateEngineNonStreaming
public class UpdateEngineNonStreaming
Example implementation of an update engine that does not stream data, instead it will build it up into an in-memory UpdateRequest, and then traverse it after all update operations have finished.
Constructor Summary | |
---|---|
UpdateEngineNonStreaming(GraphStore graphStore,
Binding inputBinding,
Context context)
Creates a new Update Engine |
Method Summary | |
---|---|
void |
finishRequest()
Signal end of a request being executed |
static UpdateEngineFactory |
getFactory()
|
UpdateSink |
getUpdateSink()
Returns an UpdateSink that adds all update operations into an internal UpdateRequest object. |
void |
startRequest()
Signal start of a request being executed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateEngineNonStreaming(GraphStore graphStore, Binding inputBinding, Context context)
graphStore
- Graph Store the updates operate overinputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)context
- Execution ContextMethod Detail |
---|
public void startRequest()
UpdateEngine
startRequest
in interface UpdateEngine
startRequest
in class UpdateEngineMain
public void finishRequest()
UpdateEngine
finishRequest
in interface UpdateEngine
finishRequest
in class UpdateEngineMain
public UpdateSink getUpdateSink()
UpdateSink
that adds all update operations into an internal UpdateRequest
object.
After the last update operation has been added, the execute()
method is called.
getUpdateSink
in interface UpdateEngine
getUpdateSink
in class UpdateEngineMain
public static UpdateEngineFactory getFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |