Class KeyRecordIterator
java.lang.Object
org.springframework.data.aerospike.query.KeyRecordIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<com.aerospike.client.query.KeyRecord>
public class KeyRecordIterator
extends Object
implements Iterator<com.aerospike.client.query.KeyRecord>, Closeable
Iterator for traversing a collection of KeyRecords
- Author:
- peter
-
Constructor Summary
ConstructorDescriptionKeyRecordIterator
(String namespace) KeyRecordIterator
(String namespace, com.aerospike.client.query.KeyRecord singleRecord) KeyRecordIterator
(String namespace, com.aerospike.client.query.RecordSet recordSet) KeyRecordIterator
(String namespace, com.aerospike.client.query.ResultSet resultSet) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
KeyRecordIterator
-
KeyRecordIterator
-
KeyRecordIterator
-
KeyRecordIterator
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
hasNext
public boolean hasNext() -
next
public com.aerospike.client.query.KeyRecord next() -
remove
public void remove() -
toString
-