com.hp.hpl.mesa.rdf.jena.rdb
Class ResultSetResourceIterator

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.rdb.ResultSetIterator
        |
        +--com.hp.hpl.mesa.rdf.jena.rdb.ResultSetResourceIterator
All Implemented Interfaces:
ClosableIterator, java.util.Iterator

public class ResultSetResourceIterator
extends ResultSetIterator

Version of ResultSetIterator that extracts database rows as resources, assuming that the SQL returns rows of form [id, localname, namespaceid].

Version:
$Revision: 1.2 $ on $Date: 2001/11/26 18:20:10 $
Author:
Dave Reynolds

Constructor Summary
ResultSetResourceIterator(ModelRDB model, IRDBDriver driver)
          Create an iterator which which convert SQL result rows of the form [id, localname, namespaceid] into RDF resources.
 
Methods inherited from class com.hp.hpl.mesa.rdf.jena.rdb.ResultSetIterator
close, getSingleton, hasNext, next, remove, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetResourceIterator

public ResultSetResourceIterator(ModelRDB model,
                                 IRDBDriver driver)
Create an iterator which which convert SQL result rows of the form [id, localname, namespaceid] into RDF resources.
Parameters:
model - The rdf model in which to instantiate any resources
driver - The database driver, used to access namespace and resource caches


Copyright 2001 Hewlett-Packard. All Rights Reserved.