Click or drag to resize

GenericUpdateProcessor Class

SPARQL Update Processor which processes commands against a generic underlying store represented by an IStorageProvider implementation.
Inheritance Hierarchy

Namespace:  VDS.RDF.Update
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public class GenericUpdateProcessor : ISparqlUpdateProcessor

The GenericUpdateProcessor type exposes the following members.

Public methodGenericUpdateProcessor
Creates a new Generic Update Processor.
Public methodDiscard
Discards any outstanding changes.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Flushes any outstanding changes to the underlying store.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessAddCommand
Processes an ADD command.
Public methodProcessClearCommand
Processes a CLEAR command.
Public methodProcessCommand
Processes a command.
Public methodProcessCommandSet
Processes a command set.
Public methodProcessCopyCommand
Processes a COPY command.
Public methodProcessCreateCommand
Processes a CREATE command.
Public methodProcessDeleteCommand
Processes a DELETE command.
Public methodProcessDeleteDataCommand
Processes a DELETE DATA command.
Public methodProcessDropCommand
Processes a DROP command.
Public methodProcessInsertCommand
Processes an INSERT command.
Public methodProcessInsertDataCommand
Processes an INSERT DATA command.
Public methodProcessLoadCommand
Processes a LOAD command.
Public methodProcessModifyCommand
Processes an INSERT/DELETE command.
Public methodProcessMoveCommand
Processes a MOVE command.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

If the provided manager also implements the IUpdateableStorage interface then the managers native SPARQL Update implementation will be used for the non-type specific calls i.e. ProcessCommand() and ProcessCommandSet(). At all other times the SPARQL Update commands will be processed by approximating their behaviour through calls to SaveGraph(), LoadGraph() and UpdateGraph() in addition to local in-memory manipulation of the data. Some commands such as INSERT and DELETE can only be processed when the manager is also a IQueryableStorage since they rely on making a query and performing actions based on the results of that query.

The performance of this processor is somewhat dependent on the underlying IStorageProvider. If the underlying manager supports triple level updates as indicated by the UpdateSupported property then operations can be performed quite efficiently, if this is not the case then any operation which modifies a Graph will need to load the existing Graph from the store, make the modifications locally in-memory and then save the resulting Graph back to the Store.

See Also