Package org.apache.jena.sparql.modify
Class UpdateEngineNonStreaming
- 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
public class UpdateEngineNonStreaming extends UpdateEngineMain
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
Constructors Constructor Description UpdateEngineNonStreaming(DatasetGraph datasetGraph, Binding inputBinding, Context context)Creates a new Update Engine
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishRequest()Signal end of a request being executedstatic UpdateEngineFactorygetFactory()UpdateSinkgetUpdateSink()Returns anUpdateSinkthat adds all update operations into an internalUpdateRequestobject.voidstartRequest()Signal start of a request being executed
-
-
-
Constructor Detail
-
UpdateEngineNonStreaming
public UpdateEngineNonStreaming(DatasetGraph datasetGraph, Binding inputBinding, Context context)
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 Detail
-
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
public UpdateSink 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
public static UpdateEngineFactory getFactory()
-
-