FileGraphPersistenceWrapper Class |
Namespace: VDS.RDF
The FileGraphPersistenceWrapper type exposes the following members.
Name | Description | |
---|---|---|
FileGraphPersistenceWrapper(String) |
Creates a new File Graph Persistence Wrapper around a new emtpy Graph.
| |
FileGraphPersistenceWrapper(IGraph, String) |
Creates a new File Graph Persistence Wrapper around the given Graph.
|
Name | Description | |
---|---|---|
AllNodes |
Gets the unique Subject, Predicate and Object nodes of the Graph.
(Inherited from GraphPersistenceWrapper.) | |
BaseUri |
Gets/Sets the Base URI of the Graph.
(Inherited from GraphPersistenceWrapper.) | |
IsEmpty |
Gets whether the Graph is empty.
(Inherited from GraphPersistenceWrapper.) | |
NamespaceMap |
Gets the Namespace Map for the Graph.
(Inherited from GraphPersistenceWrapper.) | |
Nodes |
Gets the unique Subject and Object nodes of the Graph.
(Inherited from GraphPersistenceWrapper.) | |
SupportsTriplePersistence |
Returns that Triple persistence is not supported.
(Overrides GraphPersistenceWrapperSupportsTriplePersistence.) | |
Triples |
Gets the Triple Collection for the Graph.
(Inherited from GraphPersistenceWrapper.) |
Name | Description | |
---|---|---|
Assert(IEnumerableTriple) |
Asserts Triples in the Graph.
(Inherited from GraphPersistenceWrapper.) | |
Assert(Triple) |
Asserts a Triple in the Graph.
(Inherited from GraphPersistenceWrapper.) | |
AttachEventHandlers |
Helper method for attaching the necessary event Handlers to a Triple Collection.
(Inherited from GraphPersistenceWrapper.) | |
Clear |
Clears the Graph.
(Inherited from GraphPersistenceWrapper.) | |
ContainsTriple |
Gets whether a given Triple exists in this Graph.
(Inherited from GraphPersistenceWrapper.) | |
CreateBlankNode |
Creates a new Blank Node.
(Inherited from GraphPersistenceWrapper.) | |
CreateBlankNode(String) |
Creates a new Blank Node with the given Node ID.
(Inherited from GraphPersistenceWrapper.) | |
CreateGraphLiteralNode |
Creates a new Graph Literal Node.
(Inherited from GraphPersistenceWrapper.) | |
CreateGraphLiteralNode(IGraph) |
Creates a new Graph Literal Node with the given sub-graph.
(Inherited from GraphPersistenceWrapper.) | |
CreateLiteralNode(String) |
Creates a new Literal Node.
(Inherited from GraphPersistenceWrapper.) | |
CreateLiteralNode(String, String) |
Creates a new Literal Node with the given Language.
(Inherited from GraphPersistenceWrapper.) | |
CreateLiteralNode(String, Uri) |
Creates a new Literal Node with the given Datatype.
(Inherited from GraphPersistenceWrapper.) | |
CreateUriNode |
Creates a new URI Node that references the Graphs Base URI.
(Inherited from GraphPersistenceWrapper.) | |
CreateUriNode(String) |
Creates a new URI Node from a QName.
(Inherited from GraphPersistenceWrapper.) | |
CreateUriNode(Uri) |
Creates a new URI Node.
(Inherited from GraphPersistenceWrapper.) | |
CreateVariableNode |
Creates a new Variable Node.
(Inherited from GraphPersistenceWrapper.) | |
DetachEventHandlers |
Helper method for detaching the necessary event Handlers from a Triple Collection.
(Inherited from GraphPersistenceWrapper.) | |
Difference |
Computes the Difference between this Graph the given Graph.
(Inherited from GraphPersistenceWrapper.) | |
Discard |
Discards all changes which have yet to be persisted so that they are not persisted to the underlying storage.
(Inherited from GraphPersistenceWrapper.) | |
Dispose |
Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
(Inherited from GraphPersistenceWrapper.) | |
Dispose(Boolean) |
Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
(Inherited from GraphPersistenceWrapper.) | |
Equals(Object) |
Determines whether a Graph is equal to another Object.
(Inherited from GraphPersistenceWrapper.) | |
Equals(IGraph, DictionaryINode, INode) |
Determines whether this Graph is equal to the given Graph.
(Inherited from GraphPersistenceWrapper.) | |
Finalize |
Destructor for the wrapper to ensure that Dispose() is called and thus that persistence happens
(Inherited from GraphPersistenceWrapper.) | |
Flush |
Flushes all changes which have yet to be persisted to the underlying storage.
(Inherited from GraphPersistenceWrapper.) | |
GetBlankNode |
Attempts to get the Blank Node with the given ID.
(Inherited from GraphPersistenceWrapper.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLiteralNode(String) |
Attempts to get the Literal Node with the given Value.
(Inherited from GraphPersistenceWrapper.) | |
GetLiteralNode(String, String) |
Attempts to get the Literal Node with the given Value and Language.
(Inherited from GraphPersistenceWrapper.) | |
GetLiteralNode(String, Uri) |
Attempts to get the Literal Node with the given Value and Datatype.
(Inherited from GraphPersistenceWrapper.) | |
GetNextBlankNodeID |
Gets the next available Blank Node ID.
(Inherited from GraphPersistenceWrapper.) | |
GetObjectData |
Gets the Serialization Information.
(Inherited from GraphPersistenceWrapper.) | |
GetSchema |
Gets the Schema for XML serialization.
(Inherited from GraphPersistenceWrapper.) | |
GetTriples(Uri) |
Gets all the Triples involving the given URI.
(Inherited from GraphPersistenceWrapper.) | |
GetTriples(INode) |
Gets all the Triples involving the given Node.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithObject(Uri) |
Gets all the Triples with the given URI as the Object.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithObject(INode) |
Gets all the Triples with the given Node as the Object.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithPredicate(Uri) |
Gets all the Triples with the given Uri as the Predicate.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithPredicate(INode) |
Gets all the Triples with the given Node as the Predicate.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithPredicateObject |
Selects all Triples with the given Predicate and Object.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithSubject(Uri) |
Gets all the Triples with the given Uri as the Subject.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithSubject(INode) |
Gets all the Triples with the given Node as the Subject.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithSubjectObject |
Selects all Triples with the given Subject and Object.
(Inherited from GraphPersistenceWrapper.) | |
GetTriplesWithSubjectPredicate |
Selects all Triples with the given Subject and Predicate.
(Inherited from GraphPersistenceWrapper.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUriNode(String) |
Returns the UriNode with the given QName if it exists.
(Inherited from GraphPersistenceWrapper.) | |
GetUriNode(Uri) |
Returns the UriNode with the given Uri if it exists.
(Inherited from GraphPersistenceWrapper.) | |
HasSubGraph(IGraph) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from GraphPersistenceWrapper.) | |
HasSubGraph(IGraph, DictionaryINode, INode) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from GraphPersistenceWrapper.) | |
IsSubGraphOf(IGraph) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from GraphPersistenceWrapper.) | |
IsSubGraphOf(IGraph, DictionaryINode, INode) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from GraphPersistenceWrapper.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge(IGraph) |
Merges another Graph into the current Graph.
(Inherited from GraphPersistenceWrapper.) | |
Merge(IGraph, Boolean) |
Merges another Graph into the current Graph.
(Inherited from GraphPersistenceWrapper.) | |
OnTripleAsserted |
Event Handler which handles the Triple Added event from the underlying Triple Collection by raising the Graph's TripleAsserted event.
(Inherited from GraphPersistenceWrapper.) | |
OnTripleRetracted |
Event Handler which handles the Triple Removed event from the underlying Triple Collection by raising the Graph's Triple Retracted event.
(Inherited from GraphPersistenceWrapper.) | |
PersistDeletedTriples |
Persists deleted Triples to the underlying Storage.
(Inherited from GraphPersistenceWrapper.) | |
PersistGraph |
Persists the entire Graph to a File.
(Overrides GraphPersistenceWrapperPersistGraph.) | |
PersistInsertedTriples |
Persists inserted Triples to the underlying Storage.
(Inherited from GraphPersistenceWrapper.) | |
RaiseCleared |
Helper method for raising the Cleared event.
(Inherited from GraphPersistenceWrapper.) | |
RaiseClearRequested |
Helper method for raising the Clear Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from GraphPersistenceWrapper.) | |
RaiseGraphChanged |
Helper method for raising the Changed event.
(Inherited from GraphPersistenceWrapper.) | |
RaiseGraphChanged(TripleEventArgs) |
Helper method for raising the Changed event.
(Inherited from GraphPersistenceWrapper.) | |
RaiseMerged |
Helper method for raising the Merged event.
(Inherited from GraphPersistenceWrapper.) | |
RaiseMergeRequested |
Helper method for raising the Merge Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from GraphPersistenceWrapper.) | |
RaiseTripleAsserted(Triple) |
Helper method for raising the Triple Asserted event manually.
(Inherited from GraphPersistenceWrapper.) | |
RaiseTripleAsserted(TripleEventArgs) |
Helper method for raising the Triple Asserted event manually.
(Inherited from GraphPersistenceWrapper.) | |
RaiseTripleRetracted(Triple) |
Helper method for raising the Triple Retracted event manually.
(Inherited from GraphPersistenceWrapper.) | |
RaiseTripleRetracted(TripleEventArgs) |
Helper method for raising the Triple Retracted event manually.
(Inherited from GraphPersistenceWrapper.) | |
ReadXml |
Reads the data for XML deserialization.
(Inherited from GraphPersistenceWrapper.) | |
ResolveQName |
Helper function for Resolving QNames to URIs.
(Inherited from GraphPersistenceWrapper.) | |
Retract(IEnumerableTriple) |
Retracts Triples from the Graph.
(Inherited from GraphPersistenceWrapper.) | |
Retract(Triple) |
Retracts a Triple from the Graph.
(Inherited from GraphPersistenceWrapper.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteXml |
Writes the data for XML serialization.
(Inherited from GraphPersistenceWrapper.) |
Name | Description | |
---|---|---|
Changed |
Event which is raised when the Graph contents change
(Inherited from GraphPersistenceWrapper.) | |
Cleared |
Event which is raised after the Graph is cleared of its contents
(Inherited from GraphPersistenceWrapper.) | |
ClearRequested |
Event which is raised just before the Graph is cleared of its contents
(Inherited from GraphPersistenceWrapper.) | |
Merged |
Event which is raised when a Merge operation is completed on the Graph
(Inherited from GraphPersistenceWrapper.) | |
MergeRequested |
Event which is raised when a Merge operation is requested on the Graph
(Inherited from GraphPersistenceWrapper.) | |
TripleAsserted |
Event which is raised when a Triple is asserted in the Graph
(Inherited from GraphPersistenceWrapper.) | |
TripleRetracted |
Event which is raised when a Triple is retracted from the Graph
(Inherited from GraphPersistenceWrapper.) |
Name | Description | |
---|---|---|
_g |
Underlying Graph this is a wrapper around.
(Inherited from GraphPersistenceWrapper.) |