SemWeb : SemWeb.Stores Namespace
MultiStore Class

A store that combines the statements of multiple stores.

public class MultiStore : SemWeb.Store


Remarks

The class groups together multiple stores. It is used by the SemWeb.KnowledgeModel class.

The MultiStore does not support the Clear, Add, and Remove methods.

Members

See Also: Inherited members from SemWeb.Store.

Constructors

Creates a new MultiStore.

Properties

Distinct [read-only]
abstract
bool . Gets whether the store returns only distinct statments from Select calls. (Inherited from SemWeb.Store.)
StatementCount [read-only]
abstract
int . Gets the number of statements in the store. (Inherited from SemWeb.Store.)

Methods

Add (SemWeb.RdfReader)
To be added.
Add (SemWeb.SelectableSource)
To be added.
abstract Add (SemWeb.Statement)
Adds a statement to the store. (Inherited from SemWeb.Store.)
Add (string, SemWeb.SelectableSource)
To be added.
Add (string, SemWeb.RdfReader)
To be added.
abstract Clear ()
Clears the contents of the store. (Inherited from SemWeb.Store.)
Close ()
Closes the store. (Inherited from SemWeb.Store.)
Contains (SemWeb.Resource) : bool
Tests whether the store contains any statements that mention the given resource. (Inherited from SemWeb.Store.)
Contains (SemWeb.Statement) : bool
Returns whether the store contains a statement, or any statement that matches the template. (Inherited from SemWeb.Store.)
abstract GetEntities () : SemWeb.Entity[]
Returns an array of all entities mentioned in the store. (Inherited from SemWeb.Store.)
GetEntitiesOfType (SemWeb.Entity) : SemWeb.Entity[]
Returns an array of all entities in the store whose type is known to be the given type. (Inherited from SemWeb.Store.)
abstract GetMetas () : SemWeb.Entity[]
Returns an array of all entities used in the Meta field of any statement in the store. (Inherited from SemWeb.Store.)
abstract GetPredicates () : SemWeb.Entity[]
Returns an array of all predicates mentioned in the store. (Inherited from SemWeb.Store.)
Import (SemWeb.StatementSource)
Loads the contents of a StatementSource into the store. (Inherited from SemWeb.Store.)
MetaQuery (SemWeb.Statement[], SemWeb.Query.QueryOptions) : SemWeb.Query.MetaQueryResult
To be added. (Inherited from SemWeb.Store.)
Query (SemWeb.Statement[], SemWeb.Query.QueryOptions, SemWeb.Query.QueryResultSink)
Queries the store with a simple graph match query. (Inherited from SemWeb.Store.)
Remove (SemWeb.SelectableSource)
To be added.
abstract Remove (SemWeb.Statement)
Removes statements from the store. (Inherited from SemWeb.Store.)
Remove (string)
To be added.
RemoveAll (SemWeb.Statement[])
Removes all statements matching an array of templates. (Inherited from SemWeb.Store.)
Replace (SemWeb.Entity, SemWeb.Entity)
Replaces all occurences of one Entity with another Entity. (Inherited from SemWeb.Store.)
Replace (SemWeb.Statement, SemWeb.Statement)
Replaces a single statement with another statement. (Inherited from SemWeb.Store.)
Select (SemWeb.SelectFilter) : SemWeb.SelectResult
Retuns a SemWeb.SelectResult object that represents the result of the corresponding select call with a StatementSink. (Inherited from SemWeb.Store.)
Select (SemWeb.Statement) : SemWeb.SelectResult
Retuns a SemWeb.SelectResult object that represents the result of matching a statement template against the store. (Inherited from SemWeb.Store.)
Select (SemWeb.StatementSink)
Streams all statements in this store into a StatementSink. (Inherited from SemWeb.Store.)
abstract Select (SemWeb.SelectFilter, SemWeb.StatementSink)
Queries the story for matching statements, with advanced options, and writes the statements to a SemWeb.StatementSink. (Inherited from SemWeb.Store.)
abstract Select (SemWeb.Statement, SemWeb.StatementSink)
Queries the story for matching statements, and writes the statements to a SemWeb.StatementSink. (Inherited from SemWeb.Store.)
SelectObjects (SemWeb.Entity, SemWeb.Entity) : SemWeb.Resource[]
Finds all objects in statements with the given subject and predicate. (Inherited from SemWeb.Store.)
SelectSubjects (SemWeb.Entity, SemWeb.Resource) : SemWeb.Entity[]
Finds all subjects in statements with the given predicate and object. (Inherited from SemWeb.Store.)
Write (System.IO.TextWriter)
Writes the contents of the store to a stream in N3 format. (Inherited from SemWeb.Store.)

Protected Methods

GetResourceKey (SemWeb.Resource) : object
Used by Store implementations to retrieve cached information in an entity. (Inherited from SemWeb.Store.)
SetResourceKey (SemWeb.Resource, object)
Used by Store implementations to cache information with the entity. (Inherited from SemWeb.Store.)

Member Details

MultiStore Constructor

public MultiStore ()

Creates a new MultiStore.

Remarks

Add stores to the MultiStore with the Add method.

Add Method

public void Add (SemWeb.SelectableSource store)

To be added.

Parameters

store
To be added.

Remarks

To be added.

Add Method

public void Add (string uri, SemWeb.SelectableSource store)

To be added.

Parameters

uri
To be added.
store
To be added.

Remarks

To be added.

Add Method

public void Add (SemWeb.RdfReader source)

To be added.

Parameters

source
To be added.

Remarks

To be added.

Add Method

public void Add (string uri, SemWeb.RdfReader source)

To be added.

Parameters

uri
To be added.
source
To be added.

Remarks

To be added.

Remove Method

public void Remove (SemWeb.SelectableSource store)

To be added.

Parameters

store
To be added.

Remarks

To be added.

Remove Method

public void Remove (string uri)

To be added.

Parameters

uri
To be added.

Remarks

To be added.