nsIRDFCompositeDataSource

An nsIRDFCompositeDataSource composes individual data sources, providing
the illusion of a single, coherent RDF graph.

Methods

AddDataSource(aDataSource)

Add a datasource the the composite data source.

Parameters

aDataSource the datasource to add to composite

RemoveDataSource(aDataSource)

Remove a datasource from the composite data source.

Parameters

aDataSource the datasource to remove from the composite

GetDataSources()

Retrieve the datasources in the composite data source.

Returns

an nsISimpleEnumerator that will enumerate each of the datasources in the composite

Attributes

allowNegativeAssertions

Set this value to true if the composite datasource
may contains at least one datasource that has negative
assertions. (This is the default.)

Set this value to false if none of the datasources
being composed contains a negative assertion. This allows the
composite datasource to perform some query optimizations.

By default, this value is true</true>.

coalesceDuplicateArcs

Set to true if the composite datasource should
take care to coalesce duplicate arcs when returning values from
queries. (This is the default.)

Set to false if the composite datasource shouldn’t
bother to check for duplicates. This allows the composite
datasource to more efficiently answer queries.

By default, this value is true.