Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

TripleSource Class Reference

A TripleSource is a something which can provide triples upon request. More...

#include <TripleSource.h>

Inheritance diagram for TripleSource::

Pool CachingPool FilePool InMemoryPool NTriplesFilePool OnDiskPool QueryablePool WatchablePool DeductivePool XSBPool List of all members.

Public Methods


Detailed Description

A TripleSource is a something which can provide triples upon request.

It is similar to a TripleAdder, which provides triples at its own pace, asynchronously.

See Agent for some operations on TripleSources.

Id:
TripleSource.h,v 1.23 2001/10/03 16:32:26 sandro Exp

Definition at line 26 of file TripleSource.h.


Member Function Documentation

virtual Triple TripleSource::fetch Triple    simplePattern,
LoopState   loopState,
unsigned long    max_results = 0
const [pure virtual]
 

Get the first triple which matches the pattern, and then (on following calls) get the next matching triples.

max_results is a hint which can improve performance if you know ahead of time that you will not be iterating more than some number of times.

Reimplemented in NTriplesFilePool, InMemoryPool, and XSBPool.

virtual TripleSource* TripleSource::unionWith const TripleSource &    other [inline, virtual]
 

Computer the set union.

This is called "unionWith" instead of "union" because union is a C++ keyword.

Reimplemented in QueryablePool.

Definition at line 83 of file TripleSource.h.


Home to blindfold. This page generated via doxygen 1.2.11.1 Wed Oct 10 16:40:36 2001.