public class UpdateEngineMain extends UpdateEngineBase
Developers who only want to change/extend the processing of individual updates can easily
Constructor and Description |
---|
UpdateEngineMain(GraphStore graphStore,
Binding inputBinding,
Context context)
Creates a new Update Engine
|
Modifier and Type | Method and Description |
---|---|
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
|
public UpdateEngineMain(GraphStore graphStore, Binding inputBinding, Context context)
graphStore
- Graph 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 Contextpublic void startRequest()
UpdateEngine
public void finishRequest()
UpdateEngine
public UpdateSink getUpdateSink()
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
.public static UpdateEngineFactory getFactory()
Licenced under the Apache License, Version 2.0