Package org.apache.jena.sparql.modify
Class UpdateProcessorStreamingBase
- java.lang.Object
-
- org.apache.jena.sparql.modify.UpdateProcessorStreamingBase
-
- All Implemented Interfaces:
UpdateProcessorStreaming
public class UpdateProcessorStreamingBase extends java.lang.Object implements UpdateProcessorStreaming
Class to hold the general state of a update request execution. See query ExecutionContext
-
-
Constructor Summary
Constructors Constructor Description UpdateProcessorStreamingBase(DatasetGraph datasetGraph, Binding inputBinding, Prologue prologue, Context context, UpdateEngineFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishRequest()Finish the request, call after putting updates into the SinkContextgetContext()The properties associated with a query execution - implementation specific parameters This includes Java objects (so it is not an RDF graph).DatasetGraphgetDatasetGraph()The dataset against which the query will execute.ProloguegetPrologue()Prologue for the UpdateRequestUpdateSinkgetUpdateSink()The UpdateSink into which Updates are added and executedvoidstartRequest()Start the request, call before putting updates into the Sink
-
-
-
Constructor Detail
-
UpdateProcessorStreamingBase
public UpdateProcessorStreamingBase(DatasetGraph datasetGraph, Binding inputBinding, Prologue prologue, Context context, UpdateEngineFactory factory)
-
-
Method Detail
-
startRequest
public void startRequest()
Description copied from interface:UpdateProcessorStreamingStart the request, call before putting updates into the Sink- Specified by:
startRequestin interfaceUpdateProcessorStreaming
-
finishRequest
public void finishRequest()
Description copied from interface:UpdateProcessorStreamingFinish the request, call after putting updates into the Sink- Specified by:
finishRequestin interfaceUpdateProcessorStreaming
-
getUpdateSink
public UpdateSink getUpdateSink()
Description copied from interface:UpdateProcessorStreamingThe UpdateSink into which Updates are added and executed- Specified by:
getUpdateSinkin interfaceUpdateProcessorStreaming
-
getDatasetGraph
public DatasetGraph getDatasetGraph()
Description copied from interface:UpdateProcessorStreamingThe dataset against which the query will execute. May be null, implying the there isn't a local GraphStore target for this UpdateProcessor.- Specified by:
getDatasetGraphin interfaceUpdateProcessorStreaming
-
getContext
public Context getContext()
Description copied from interface:UpdateProcessorStreamingThe properties associated with a query execution - implementation specific parameters This includes Java objects (so it is not an RDF graph). Keys should be URIs as strings. May be null (this implementation does not provide any configuration).- Specified by:
getContextin interfaceUpdateProcessorStreaming
-
getPrologue
public Prologue getPrologue()
Description copied from interface:UpdateProcessorStreamingPrologue for the UpdateRequest- Specified by:
getProloguein interfaceUpdateProcessorStreaming
-
-