com.clarkparsia.pellet.sparqldl.jena
Class SlicedResultSet

java.lang.Object
  extended by com.clarkparsia.pellet.sparqldl.jena.SlicedResultSet
All Implemented Interfaces:
com.hp.hpl.jena.query.ResultSet, java.util.Iterator

public class SlicedResultSet
extends java.lang.Object
implements com.hp.hpl.jena.query.ResultSet

Title:

Description:

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Evren Sirin

Constructor Summary
SlicedResultSet(com.hp.hpl.jena.query.ResultSet results, long offset, long limit)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model getResourceModel()
           
 java.util.List<?> getResultVars()
          
 int getRowNumber()
          
 boolean hasNext()
          
 boolean isOrdered()
          
 java.lang.Object next()
          
 com.hp.hpl.jena.sparql.engine.binding.Binding nextBinding()
          
 com.hp.hpl.jena.query.QuerySolution nextSolution()
          
 void remove()
          
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlicedResultSet

public SlicedResultSet(com.hp.hpl.jena.query.ResultSet results,
                       long offset,
                       long limit)
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface com.hp.hpl.jena.query.ResultSet
Specified by:
hasNext in interface java.util.Iterator

nextBinding

public com.hp.hpl.jena.sparql.engine.binding.Binding nextBinding()

Specified by:
nextBinding in interface com.hp.hpl.jena.query.ResultSet

nextSolution

public com.hp.hpl.jena.query.QuerySolution nextSolution()

Specified by:
nextSolution in interface com.hp.hpl.jena.query.ResultSet

next

public java.lang.Object next()

Specified by:
next in interface com.hp.hpl.jena.query.ResultSet
Specified by:
next in interface java.util.Iterator

isOrdered

public boolean isOrdered()

Specified by:
isOrdered in interface com.hp.hpl.jena.query.ResultSet

getResultVars

public java.util.List<?> getResultVars()

Specified by:
getResultVars in interface com.hp.hpl.jena.query.ResultSet

getRowNumber

public int getRowNumber()

Specified by:
getRowNumber in interface com.hp.hpl.jena.query.ResultSet

remove

public void remove()
            throws java.lang.UnsupportedOperationException

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

getResourceModel

public com.hp.hpl.jena.rdf.model.Model getResourceModel()
Specified by:
getResourceModel in interface com.hp.hpl.jena.query.ResultSet


Copyright © 2004 Evren Sirin. All Rights Reserved.