Class RecordSet

java.lang.Object
com.aerospike.jdbc.async.RecordSet
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<com.aerospike.client.query.KeyRecord>

public final class RecordSet extends Object implements Iterable<com.aerospike.client.query.KeyRecord>, Closeable
  • Constructor Details

    • RecordSet

      public RecordSet(int capacity, int timeoutMs)
  • Method Details

    • next

      public boolean next() throws com.aerospike.client.AerospikeException
      Throws:
      com.aerospike.client.AerospikeException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • iterator

      @Nonnull public Iterator<com.aerospike.client.query.KeyRecord> iterator()
      Specified by:
      iterator in interface Iterable<com.aerospike.client.query.KeyRecord>
    • getKey

      public com.aerospike.client.Key getKey()
    • getRecord

      public com.aerospike.client.Record getRecord()
    • put

      public boolean put(com.aerospike.client.query.KeyRecord keyRecord)
    • abort

      public void abort()