Class GenericUpdateProcessor
SPARQL Update Processor which processes commands against a generic underlying store represented by an IStorage
Inheritance
Implements
Inherited Members
Namespace: VDS.RDF.Update
Assembly: dotNetRdf.dll
Syntax
public class GenericUpdateProcessor : ISparqlUpdateProcessor
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
Constructors
| Improve this Doc View SourceGenericUpdateProcessor(IStorageProvider, Loader)
Creates a new Generic Update Processor.
Declaration
public GenericUpdateProcessor(IStorageProvider manager, Loader loader = null)
Parameters
Type | Name | Description |
---|---|---|
IStorage |
manager | Generic IO Manager. |
Loader | loader | The loader to use when retrieving RDF data for a LOAD command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
Properties
| Improve this Doc View SourceLoader
Get the loader configured for this processor.
Declaration
public Loader Loader { get; }
Property Value
Type | Description |
---|---|
Loader |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
Methods
| Improve this Doc View SourceDiscard()
Discards any outstanding changes.
Declaration
public virtual void Discard()
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
Flush()
Flushes any outstanding changes to the underlying store.
Declaration
public virtual void Flush()
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessAddCommand(AddCommand)
Processes an ADD command.
Declaration
public void ProcessAddCommand(AddCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Add |
cmd | Add Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessClearCommand(ClearCommand)
Processes a CLEAR command.
Declaration
public void ProcessClearCommand(ClearCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Clear |
cmd | Clear Command. |
Remarks
Implemented by replacing the Graph with an empty Graph.
ProcessCommand(SparqlUpdateCommand)
Processes a command.
Declaration
public virtual void ProcessCommand(SparqlUpdateCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Sparql |
cmd | Command. |
Remarks
If the provided manager also implements the IUpdateable
ProcessCommandSet(SparqlUpdateCommandSet)
Processes a command set.
Declaration
public virtual void ProcessCommandSet(SparqlUpdateCommandSet commands)
Parameters
Type | Name | Description |
---|---|---|
Sparql |
commands | Command Set. |
Remarks
If the provided manager also implements the IUpdateable
ProcessCopyCommand(CopyCommand)
Processes a COPY command.
Declaration
public void ProcessCopyCommand(CopyCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Copy |
cmd | Copy Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessCreateCommand(CreateCommand)
Processes a CREATE command.
Declaration
public void ProcessCreateCommand(CreateCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Create |
cmd | Create Command. |
Remarks
Implemented by adding an empty Graph to the Store.
Warning: As the IStorage
ProcessDeleteCommand(DeleteCommand)
Processes a DELETE command.
Declaration
public void ProcessDeleteCommand(DeleteCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Delete |
cmd | Delete Command. |
Remarks
Note: The underlying manager must implement the IQueryable
ProcessDeleteDataCommand(DeleteDataCommand)
Processes a DELETE DATA command.
Declaration
public void ProcessDeleteDataCommand(DeleteDataCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Delete |
cmd | DELETE Data Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessDropCommand(DropCommand)
Processes a DROP command.
Declaration
public void ProcessDropCommand(DropCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Drop |
cmd | Drop Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessInsertCommand(InsertCommand)
Processes an INSERT command.
Declaration
public void ProcessInsertCommand(InsertCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Insert |
cmd | Insert Command. |
Remarks
Note: The underlying manager must implement the IQueryable
ProcessInsertDataCommand(InsertDataCommand)
Processes an INSERT DATA command.
Declaration
public void ProcessInsertDataCommand(InsertDataCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Insert |
cmd | Insert Data Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessLoadCommand(LoadCommand)
Processes a LOAD command.
Declaration
public void ProcessLoadCommand(LoadCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Load |
cmd | Load Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessModifyCommand(ModifyCommand)
Processes an INSERT/DELETE command.
Declaration
public void ProcessModifyCommand(ModifyCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Modify |
cmd | Insert/Delete Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage
ProcessMoveCommand(MoveCommand)
Processes a MOVE command.
Declaration
public void ProcessMoveCommand(MoveCommand cmd)
Parameters
Type | Name | Description |
---|---|---|
Move |
cmd | Move Command. |
Remarks
If the provided manager also implements the IUpdateable
The performance of this processor is somewhat dependent on the underlying IStorage