|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.DatasetPropertyIterator<E>
E - The Jastor Type for the values that this iterator of properties representspublic abstract class DatasetPropertyIterator<E>
Iterator that iterates over the set of object values for a given property on a given subject. Based on doing a find within the dataset for the given subject and property within a set of contexts
| Constructor Summary | |
|---|---|
DatasetPropertyIterator(IDataset dataset,
org.openrdf.model.Resource resource,
org.openrdf.model.URI property,
org.openrdf.model.Resource... context)
Create iterator of object values for a given property on a given subject. |
|
| Method Summary | |
|---|---|
void |
close()
Close the underlying iterator |
abstract E |
getPropertyValue(org.openrdf.model.Value resource)
Implementation must convert object Value to corresponding datatype |
boolean |
hasNext()
|
E |
next()
Get the next value from the iterator |
void |
remove()
Remove current value value from the underlying iterator |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatasetPropertyIterator(IDataset dataset,
org.openrdf.model.Resource resource,
org.openrdf.model.URI property,
org.openrdf.model.Resource... context)
dataset - Dataset that contains data to searchresource - Subject of statements to findproperty - Property of statements to findcontext - Contexts within dataset to search over| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<E>public E next()
next in interface java.util.Iterator<E>public void remove()
remove in interface java.util.Iterator<E>public abstract E getPropertyValue(org.openrdf.model.Value resource)
resource - to convert to given datatype
public void close()
close in interface info.aduna.collections.iterators.CloseableIterator<E>close in interface java.io.Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||