org.openspaces.persistency.cassandra.datasource
Class SingleEntryDataIterator
java.lang.Object
org.openspaces.persistency.cassandra.datasource.SingleEntryDataIterator
- All Implemented Interfaces:
- DataIterator<Object>, Iterator<Object>
public class SingleEntryDataIterator
- extends Object
- implements DataIterator<Object>
A DataIterator
for single entry or empty result sets.
- Since:
- 9.1.1
- Author:
- Dan Kilman
Method Summary |
void |
close()
Clean up after any resources associated with this iterator
The iterator can be closed even if the iterator wasn't iterated over all of its elements. |
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleEntryDataIterator
public SingleEntryDataIterator(Object entry)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Object>
next
public Object next()
- Specified by:
next
in interface Iterator<Object>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Object>
close
public void close()
- Description copied from interface:
DataIterator
- Clean up after any resources associated with this iterator
The iterator can be closed even if the iterator wasn't iterated over all of its elements.
- Specified by:
close
in interface DataIterator<Object>
Copyright © GigaSpaces.