GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.datasource
Class SingleEntryDataIterator

java.lang.Object
  extended by 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

Constructor Summary
SingleEntryDataIterator(Object entry)
           
 
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
 

Constructor Detail

SingleEntryDataIterator

public SingleEntryDataIterator(Object entry)
Method Detail

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>

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.