InMemoryDataset Class |
Namespace: VDS.RDF.Query.Datasets
The InMemoryDataset type exposes the following members.
Name | Description | |
---|---|---|
InMemoryDataset |
Creates a new in-memory dataset using the default in-memory TripleStore as the underlying storage.
| |
InMemoryDataset(Boolean) |
Creates a new in-memory dataset using the default in-memory TripleStore as the underlying storage.
| |
InMemoryDataset(IGraph) |
Creates a new in-memory dataset containing initially just the given graph and treating the given graph as the default graph of the dataset.
| |
InMemoryDataset(IInMemoryQueryableStore) |
Creates a new In-Memory dataset.
| |
InMemoryDataset(IInMemoryQueryableStore, Boolean) |
Creates a new In-Memory dataset.
| |
InMemoryDataset(IInMemoryQueryableStore, Uri) |
Creates a new In-Memory dataset.
|
Name | Description | |
---|---|---|
ActiveGraphUris |
Gets the Active Graph URIs.
(Inherited from BaseDataset.) | |
DefaultGraphUris |
Gets the Default Graph URIs.
(Inherited from BaseDataset.) | |
Graphs |
Gets all the Graphs in the Dataset.
(Overrides BaseDatasetGraphs.) | |
GraphUris |
Gets all the URIs of Graphs in the Dataset.
(Overrides BaseDatasetGraphUris.) | |
HasTriples |
Gets whether the Dataset has any Triples.
(Inherited from BaseDataset.) | |
InternalDefaultGraph |
Gets a reference to the actual IGraph that is currently treated as the default graph.
(Inherited from BaseDataset.) | |
Item |
Gets a Graph from the Dataset.
(Inherited from BaseTransactionalDataset.) | |
Lock |
Gets the Lock used to ensure MRSW concurrency on the dataset when available.
| |
Triples |
Gets all the Triples in the Dataset.
(Inherited from BaseDataset.) | |
UsesUnionDefaultGraph |
Gets whether the Default Graph is treated as being the union of all Graphs in the dataset when no Default Graph is otherwise set.
(Inherited from BaseDataset.) |
Name | Description | |
---|---|---|
AddGraph |
Adds a Graph to the Dataset.
(Inherited from BaseTransactionalDataset.) | |
AddGraphInternal |
Adds a Graph to the Dataset merging it with any existing Graph with the same URI.
(Overrides BaseTransactionalDatasetAddGraphInternal(IGraph).) | |
ContainsTriple |
Gets whether the Dataset contains a specific Triple.
(Inherited from BaseDataset.) | |
ContainsTripleInternal |
Gets whether the Dataset contains a specific Triple.
(Overrides BaseDatasetContainsTripleInternal(Triple).) | |
Discard |
Ensures that any changes to the Dataset (if any) are discarded.
(Inherited from BaseTransactionalDataset.) | |
DiscardInternal |
Allows the derived dataset to take any post-Discard() actions required.
(Inherited from BaseTransactionalDataset.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush |
Ensures that any changes to the Dataset (if any) are flushed to the underlying Storage.
(Inherited from BaseTransactionalDataset.) | |
FlushInternal |
If there have been changes made to the Dataset and the underlying in-memory store is a ITransactionalStore ensures the underlying store is notified to flush those changes.
(Overrides BaseTransactionalDatasetFlushInternal.) | |
GetAllTriples |
Gets all the Triples in the underlying in-memory store.
(Overrides BaseDatasetGetAllTriples.) | |
GetGraphInternal |
Gets the Graph with the given URI from the Dataset.
(Overrides BaseDatasetGetGraphInternal(Uri).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetModifiableGraph |
Gets a Graph from the Dataset that can be modified.
(Inherited from BaseTransactionalDataset.) | |
GetModifiableGraphInternal |
Gets a Modifiable wrapper around a Graph in the Dataset.
(Overrides BaseTransactionalDatasetGetModifiableGraphInternal(Uri).) | |
GetTriplesWithObject |
Gets all the Triples in the Dataset with the given Object.
(Inherited from BaseDataset.) | |
GetTriplesWithObjectInternal |
Gets all the Triples in the Dataset with the given Object.
(Overrides BaseDatasetGetTriplesWithObjectInternal(INode).) | |
GetTriplesWithPredicate |
Gets all the Triples in the Dataset with the given Predicate.
(Inherited from BaseDataset.) | |
GetTriplesWithPredicateInternal |
Gets all the Triples in the Dataset with the given Predicate.
(Overrides BaseDatasetGetTriplesWithPredicateInternal(INode).) | |
GetTriplesWithPredicateObject |
Gets all the Triples in the Dataset with the given Predicate and Object.
(Inherited from BaseDataset.) | |
GetTriplesWithPredicateObjectInternal |
Gets all the Triples in the Dataset with the given Predicate and Object.
(Overrides BaseDatasetGetTriplesWithPredicateObjectInternal(INode, INode).) | |
GetTriplesWithSubject |
Gets all the Triples in the Dataset with the given Subject.
(Inherited from BaseDataset.) | |
GetTriplesWithSubjectInternal |
Gets all the Triples in the Dataset with the given Subject.
(Overrides BaseDatasetGetTriplesWithSubjectInternal(INode).) | |
GetTriplesWithSubjectObject |
Gets all the Triples in the Dataset with the given Subject and Object.
(Inherited from BaseDataset.) | |
GetTriplesWithSubjectObjectInternal |
Gets all the Triples in the Dataset with the given Subject and Object.
(Overrides BaseDatasetGetTriplesWithSubjectObjectInternal(INode, INode).) | |
GetTriplesWithSubjectPredicate |
Gets all the Triples in the Dataset with the given Subject and Predicate.
(Inherited from BaseDataset.) | |
GetTriplesWithSubjectPredicateInternal |
Gets all the Triples in the Dataset with the given Subject and Predicate.
(Overrides BaseDatasetGetTriplesWithSubjectPredicateInternal(INode, INode).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasGraph |
Gets whether a Graph with the given URI is the Dataset.
(Inherited from BaseDataset.) | |
HasGraphInternal |
Gets whether a Graph with the given URI is the Dataset.
(Overrides BaseDatasetHasGraphInternal(Uri).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveGraph |
Removes a Graph from the Dataset.
(Inherited from BaseTransactionalDataset.) | |
RemoveGraphInternal |
Removes a Graph from the Dataset.
(Overrides BaseDatasetRemoveGraphInternal(Uri).) | |
ResetActiveGraph |
Sets the Active Graph for the SPARQL query to be the previous Active Graph.
(Inherited from BaseDataset.) | |
ResetDefaultGraph |
Sets the Default Graph for the SPARQL Query to be the previous Default Graph.
(Inherited from BaseDataset.) | |
SetActiveGraph(IEnumerableUri) |
Sets the Active Graph for the SPARQL query.
(Inherited from BaseDataset.) | |
SetActiveGraph(Uri) |
Sets the Active Graph for the SPARQL query.
(Inherited from BaseDataset.) | |
SetDefaultGraph(IEnumerableUri) |
Sets the Default Graph.
(Inherited from BaseDataset.) | |
SetDefaultGraph(Uri) |
Sets the Default Graph.
(Inherited from BaseDataset.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |