public final class RecordSet extends Object implements Iterable<com.aerospike.client.query.KeyRecord>, Closeable
Modifier and Type | Field and Description |
---|---|
static com.aerospike.client.query.KeyRecord |
END |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close query.
|
Key |
getKey()
Get record's unique identifier.
|
Record |
getRecord()
Get record's header and bin data.
|
Iterator<com.aerospike.client.query.KeyRecord> |
iterator()
Provide Iterator for RecordSet.
|
boolean |
next()
Retrieve next record.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final boolean next() throws AerospikeException
AerospikeException
public final void close()
close
in interface Closeable
close
in interface AutoCloseable
public Iterator<com.aerospike.client.query.KeyRecord> iterator()
public final Key getKey()
public final Record getRecord()
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.