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
ConstructorsConstructorDescriptionUpdateEngineNonStreaming(DatasetGraph datasetGraph, Binding inputBinding, Context context) Creates a new Update Engine -
Method Summary
Modifier and TypeMethodDescriptionvoidSignal end of a request being executedstatic UpdateEngineFactoryReturns anUpdateSinkthat adds all update operations into an internalUpdateRequestobject.voidSignal 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:UpdateEngineSignal start of a request being executed- Specified by:
startRequestin interfaceUpdateEngine- Overrides:
startRequestin classUpdateEngineMain
-
finishRequest
public void finishRequest()Description copied from interface:UpdateEngineSignal end of a request being executed- Specified by:
finishRequestin interfaceUpdateEngine- Overrides:
finishRequestin classUpdateEngineMain
-
getUpdateSink
Returns anUpdateSinkthat adds all update operations into an internalUpdateRequestobject. After the last update operation has been added, theexecute()method is called.- Specified by:
getUpdateSinkin interfaceUpdateEngine- Overrides:
getUpdateSinkin classUpdateEngineMain
-
getFactory
-