java.lang.Object
org.apache.jena.sparql.modify.UpdateEngineBase
org.apache.jena.sparql.modify.UpdateEngineMain
org.apache.jena.sparql.modify.UpdateEngineNonStreaming
- All Implemented Interfaces:
UpdateEngine
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
ConstructorDescriptionUpdateEngineNonStreaming
(DatasetGraph datasetGraph, Binding inputBinding, Context context) Creates a new Update Engine -
Method Summary
Modifier and TypeMethodDescriptionvoid
Signal end of a request being executedstatic UpdateEngineFactory
Returns anUpdateSink
that adds all update operations into an internalUpdateRequest
object.void
Signal start of a request being executed
-
Constructor Details
-
UpdateEngineNonStreaming
Creates a new Update Engine- Parameters:
datasetGraph
- 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 Context
-
-
Method Details
-
startRequest
public void startRequest()Description copied from interface:UpdateEngine
Signal start of a request being executed- Specified by:
startRequest
in interfaceUpdateEngine
- Overrides:
startRequest
in classUpdateEngineMain
-
finishRequest
public void finishRequest()Description copied from interface:UpdateEngine
Signal end of a request being executed- Specified by:
finishRequest
in interfaceUpdateEngine
- Overrides:
finishRequest
in classUpdateEngineMain
-
getUpdateSink
Returns anUpdateSink
that adds all update operations into an internalUpdateRequest
object. After the last update operation has been added, theexecute()
method is called.- Specified by:
getUpdateSink
in interfaceUpdateEngine
- Overrides:
getUpdateSink
in classUpdateEngineMain
-
getFactory
-