Class SecuredRSIterator
java.lang.Object
org.apache.jena.permissions.model.impl.SecuredRSIterator
- All Implemented Interfaces:
Iterator<ReifiedStatement>
,org.apache.jena.atlas.iterator.IteratorCloseable<ReifiedStatement>
,org.apache.jena.atlas.lib.Closeable
,RSIterator
,ClosableIterator<ReifiedStatement>
,ExtendedIterator<ReifiedStatement>
A secured RSIterator implementation
-
Constructor Summary
ConstructorsConstructorDescriptionSecuredRSIterator
(SecuredModel securedModel, ExtendedIterator<ReifiedStatement> wrapped) Constructor -
Method Summary
Modifier and TypeMethodDescription<X extends ReifiedStatement>
ExtendedIterator<ReifiedStatement>void
close()
boolean
hasNext()
<U> ExtendedIterator<U>
mapWith
(Function<ReifiedStatement, U> map1) next()
nextRS()
void
remove()
toList()
toSet()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SecuredRSIterator
Constructor- Parameters:
securedModel
- The secured model that provides the security contextwrapped
- The wrapped iterator.
-
-
Method Details
-
andThen
- Specified by:
andThen
in interfaceExtendedIterator<ReifiedStatement>
-
close
public void close()- Specified by:
close
in interfaceClosableIterator<ReifiedStatement>
- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-
filterDrop
- Specified by:
filterDrop
in interfaceExtendedIterator<ReifiedStatement>
-
filterKeep
- Specified by:
filterKeep
in interfaceExtendedIterator<ReifiedStatement>
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<ReifiedStatement>
-
mapWith
- Specified by:
mapWith
in interfaceExtendedIterator<ReifiedStatement>
-
next
- Specified by:
next
in interfaceIterator<ReifiedStatement>
-
nextRS
- Specified by:
nextRS
in interfaceRSIterator
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<ReifiedStatement>
-
removeNext
- Specified by:
removeNext
in interfaceExtendedIterator<ReifiedStatement>
-
toList
- Specified by:
toList
in interfaceExtendedIterator<ReifiedStatement>
-
toSet
- Specified by:
toSet
in interfaceExtendedIterator<ReifiedStatement>
-