SemWeb : SemWeb Namespace
StatementSource Interface

A source of statements, such as a RdfReader or a Store.

public interface StatementSource

Remarks

Access to the statements in this source is provided through calling Select.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.0, 1.0.6.2, 1.0.7.0

Members

Public Properties

[read-only]
Distinct bool . Gets whether the statement source returns only distinct statments from Select calls.

Public Methods

Select (StatementSink)
Called to stream the statements in the source into a StatementSink.

Member Details

Distinct Property

Gets whether the statement source returns only distinct statments from Select calls.

public bool Distinct { get; }

Value

True if any call to Select (and its overloads when they are implemented) yields only distinct statements (i.e. no duplicates).

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0

Select Method

Called to stream the statements in the source into a StatementSink.

public void Select (StatementSink sink)

Parameters

sink
The destination for statements.

Remarks

The StatementSink.Add(Statement) method is called on sink for each statement in this StatementSource.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0