Package org.apache.jena.sparql.modify
Class UpdateEngineMain
- java.lang.Object
-
- org.apache.jena.sparql.modify.UpdateEngineBase
-
- org.apache.jena.sparql.modify.UpdateEngineMain
-
- All Implemented Interfaces:
UpdateEngine
- Direct Known Subclasses:
UpdateEngineNonStreaming
public class UpdateEngineMain extends UpdateEngineBase
Default implementation of an update engine based on stream updates to a worker function. In addition, it applies INSERT DATA and DELETE DATA driven off the updates, which may be directly from the parser.Developers who only want to change/extend the processing of individual updates can easily
See
UpdateEngineNonStreamingfor a subclass that accumulates updates, including during parsing then executes the operation.
-
-
Constructor Summary
Constructors Constructor Description UpdateEngineMain(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 accepts Update operationsvoidstartRequest()Signal start of a request being executed
-
-
-
Constructor Detail
-
UpdateEngineMain
public UpdateEngineMain(DatasetGraph datasetGraph, Binding inputBinding, Context context)
Creates a new Update Engine- Parameters:
datasetGraph- DatasetGraph 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
-
finishRequest
public void finishRequest()
Description copied from interface:UpdateEngineSignal end of a request being executed
-
getUpdateSink
public UpdateSink getUpdateSink()
Description copied from interface:UpdateEngineReturns anUpdateSinkthat accepts Update operations
-
getFactory
public static UpdateEngineFactory getFactory()
-
-