org.mindswap.pellet.jena
Class PelletQueryResults

java.lang.Object
  extended by org.mindswap.pellet.jena.PelletQueryResults
All Implemented Interfaces:
com.hp.hpl.jena.rdql.QueryResults, com.hp.hpl.jena.rdql.QueryResultsRewindable, java.util.Iterator

public class PelletQueryResults
extends java.lang.Object
implements com.hp.hpl.jena.rdql.QueryResultsRewindable

Author:
Evren Sirin

Constructor Summary
PelletQueryResults(QueryResults answers, com.hp.hpl.jena.rdf.model.Model model)
           
 
Method Summary
 void close()
           
 java.util.List getAll()
          Deprecated. This function is depracted in Jena 2.2
 java.util.List getResultVars()
           
 int getRowNumber()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 void rewind()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PelletQueryResults

public PelletQueryResults(QueryResults answers,
                          com.hp.hpl.jena.rdf.model.Model model)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface com.hp.hpl.jena.rdql.QueryResults
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface com.hp.hpl.jena.rdql.QueryResults
Specified by:
next in interface java.util.Iterator

close

public void close()
Specified by:
close in interface com.hp.hpl.jena.rdql.QueryResults

getRowNumber

public int getRowNumber()
Specified by:
getRowNumber in interface com.hp.hpl.jena.rdql.QueryResults

getResultVars

public java.util.List getResultVars()
Specified by:
getResultVars in interface com.hp.hpl.jena.rdql.QueryResults

getAll

public java.util.List getAll()
Deprecated. This function is depracted in Jena 2.2

Specified by:
getAll in interface com.hp.hpl.jena.rdql.QueryResults

rewind

public void rewind()
Specified by:
rewind in interface com.hp.hpl.jena.rdql.QueryResultsRewindable

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface com.hp.hpl.jena.rdql.QueryResults
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.