org.openrdf.rdf2go
Class RepositoryQueryResultTable

java.lang.Object
  extended by org.openrdf.rdf2go.RepositoryQueryResultTable
All Implemented Interfaces:
java.lang.Iterable<QueryRow>, ClosableIterable<QueryRow>, QueryResultTable

public class RepositoryQueryResultTable
extends java.lang.Object
implements QueryResultTable

A QueryResultTable implementation that wraps the results of a table query on a Repository.


Constructor Summary
RepositoryQueryResultTable(java.lang.String queryString, org.openrdf.query.QueryLanguage language, org.openrdf.repository.RepositoryConnection connection)
           
RepositoryQueryResultTable(java.lang.String queryString, org.openrdf.repository.RepositoryConnection connection)
           
 
Method Summary
 java.util.List<java.lang.String> getVariables()
           
 ClosableIterator<QueryRow> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryQueryResultTable

public RepositoryQueryResultTable(java.lang.String queryString,
                                  org.openrdf.repository.RepositoryConnection connection)
                           throws ModelRuntimeException
Throws:
ModelRuntimeException

RepositoryQueryResultTable

public RepositoryQueryResultTable(java.lang.String queryString,
                                  org.openrdf.query.QueryLanguage language,
                                  org.openrdf.repository.RepositoryConnection connection)
                           throws ModelRuntimeException
Throws:
ModelRuntimeException
Method Detail

getVariables

public java.util.List<java.lang.String> getVariables()
Specified by:
getVariables in interface QueryResultTable

iterator

public ClosableIterator<QueryRow> iterator()
Specified by:
iterator in interface java.lang.Iterable<QueryRow>
Specified by:
iterator in interface ClosableIterable<QueryRow>


Copyright © 2001-2008 FZI. All Rights Reserved.