SemWeb : SemWeb Namespace
SelectFilter Struct

This structure provides the arguments to the more powerful Select overload.

public struct SelectFilter : IEnumerable

Remarks

For examples, see SelectableSource.Select(SelectFilter, StatementSink).

Requirements

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

Members

See Also: Inherited members from ValueType.

Public Constructors

Creates a new SelectFilter which selects for statements matching the template.
Creates a SelectFilter to select for matching statements.

Public Fields

static
All SelectFilter . A SelectFilter than selects for all statements.
Limit int . Maximum number of statements to return.
LiteralFilters LiteralFilter[]. An array of filters that the object value of statements must match.
Metas Entity[]. The filter for the meta value of statements.
Objects Resource[]. The filter for the object value of statements.
Predicates Entity[]. The filter for the predicate value of statements.
Subjects Entity[]. The filter for the subject value of statements.

Public Methods

static
FromGraph (Statement[]) : SelectFilter[]
Documentation for this section has not yet been entered.
GetEnumerator () : IEnumerator
Documentation for this section has not yet been entered.

Public Operators

Equality : SelectFilter == SelectFilter Tests two SelectFilters for equality.
Inequality : SelectFilter != SelectFilter Tests two SelectFilters for inequality.

Member Details

SelectFilter Constructor

Creates a new SelectFilter which selects for statements matching the template.

public SelectFilter (Statement statement)

Parameters

statement
The statement template to select for.

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

SelectFilter Constructor

Creates a SelectFilter to select for matching statements.

public SelectFilter (Entity[] subjects, Entity[] predicates, Resource[] objects, Entity[] metas)

Parameters

subjects
null to match any entity, or an array of entities any of which match the filter.
predicates
null to match any entity, or an array of entities any of which match the filter.
objects
null to match any resource, or an array of resources any of which match the filter.
metas
null to match any entity, or an array of entities any of which match the filter.

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

All Field

A SelectFilter than selects for all statements.

public static SelectFilter All

Remarks

This is equivalent to Statement.All.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

FromGraph Method

Documentation for this section has not yet been entered.

public static SelectFilter[] FromGraph (Statement[] graph)

Parameters

graph
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

GetEnumerator Method

Documentation for this section has not yet been entered.

public IEnumerator GetEnumerator ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Limit Field

Maximum number of statements to return.

public int Limit

Remarks

Stores are free to ignore the limit provided.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

LiteralFilters Field

An array of filters that the object value of statements must match.

public LiteralFilter[] LiteralFilters

Remarks

An array of filters that the object value of any matching statements must match.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Metas Field

The filter for the meta value of statements.

public Entity[] Metas

Remarks

null to match any entity, or an array of entities any of which match the filter.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Objects Field

The filter for the object value of statements.

public Resource[] Objects

Remarks

null to match any resource, or an array of resources any of which match the filter.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Equality (==) Operator

Tests two SelectFilters for equality.

public static bool operator == (SelectFilter a, SelectFilter b)

Parameters

a
A SelectFilter.
b
A SelectFilter.

Returns

True if the two SelectFilters have equivalent values for all fields.

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Inequality (!=) Operator

Tests two SelectFilters for inequality.

public static bool operator != (SelectFilter a, SelectFilter b)

Parameters

a
A SelectFilter.
b
A SelectFilter.

Returns

False if the two SelectFilters have equivalent values for all fields.

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Predicates Field

The filter for the predicate value of statements.

public Entity[] Predicates

Remarks

null to match any entity, or an array of entities any of which match the filter.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2

Subjects Field

The filter for the subject value of statements.

public Entity[] Subjects

Remarks

null to match any entity, or an array of entities any of which match the filter.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2