com.hp.hpl.jena.sparql.modify
Class UpdateEngineMain

java.lang.Object
  extended by com.hp.hpl.jena.sparql.modify.UpdateEngineBase
      extended by com.hp.hpl.jena.sparql.modify.UpdateEngineMain
All Implemented Interfaces:
UpdateEngine
Direct Known Subclasses:
UpdateEngineNonStreaming

public class UpdateEngineMain
extends UpdateEngineBase

Default implementation of an update engine

Developers who only want to change/extend the processing of individual updates can easily


Constructor Summary
UpdateEngineMain(GraphStore graphStore, Binding inputBinding, Context context)
          Creates a new Update Engine
 
Method Summary
 void finishRequest()
          Signal end of a request being executed
static UpdateEngineFactory getFactory()
           
 UpdateSink getUpdateSink()
          Returns the UpdateSink.
 void startRequest()
          Signal start of a request being executed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateEngineMain

public UpdateEngineMain(GraphStore graphStore,
                        Binding inputBinding,
                        Context context)
Creates a new Update Engine

Parameters:
graphStore - Graph Store the updates operate over
inputBinding - 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: UpdateEngine
Signal start of a request being executed


finishRequest

public void finishRequest()
Description copied from interface: UpdateEngine
Signal end of a request being executed


getUpdateSink

public UpdateSink getUpdateSink()
Returns the UpdateSink. In this implementation, this is done by with an UpdateVisitor which will visit each update operation and send the operation to the associated UpdateEngineWorker.


getFactory

public static UpdateEngineFactory getFactory()


Licenced under the Apache License, Version 2.0