org.openrdf.sesame.sailimpl.rdbms.iterators
Class RdbmsResourceIterator
java.lang.Object
org.openrdf.sesame.sailimpl.rdbms.iterators.RdbmsValueIterator
org.openrdf.sesame.sailimpl.rdbms.iterators.RdbmsResourceIterator
- All Implemented Interfaces:
- ResourceIterator, ValueIterator
- public class RdbmsResourceIterator
- extends RdbmsValueIterator
- implements ResourceIterator
An implementation of RdbmsValueIterator that iterates rdfs:Resources. It
implements getResult() which creates a new Resource. The ResultSet should
contain the following columns: id (int), namespace ID (int) and localname
(String).
- Version:
- $Revision: 1.9.4.2 $
- Author:
- Peter van 't Hof, Arjohn Kampman
RdbmsResourceIterator
public RdbmsResourceIterator(RdfSource source,
String[] namespaceNames,
Connection databaseCon,
String query)
- Constructor.
- Parameters:
databaseCon - connection with the repositoryquery - query to execute
nextResource
public Resource nextResource()
- Description copied from interface:
ResourceIterator
- Gets the next Resource.
- Specified by:
nextResource in interface ResourceIterator
- Returns:
- the next Resource
- See Also:
ValueIterator.next()
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.