Class AerospikeKeyIterator

java.lang.Object
com.playtika.janusgraph.aerospike.operations.AerospikeKeyIterator
All Implemented Interfaces:
com.aerospike.client.ScanCallback, Closeable, AutoCloseable, Iterator<org.janusgraph.diskstorage.StaticBuffer>, org.janusgraph.diskstorage.keycolumnvalue.KeyIterator, org.janusgraph.diskstorage.util.RecordIterator<org.janusgraph.diskstorage.StaticBuffer>

public class AerospikeKeyIterator extends Object implements org.janusgraph.diskstorage.keycolumnvalue.KeyIterator, com.aerospike.client.ScanCallback
Should be used for test purposes only
  • Constructor Details

    • AerospikeKeyIterator

      public AerospikeKeyIterator(org.janusgraph.diskstorage.keycolumnvalue.SliceQuery query)
  • Method Details

    • getEntries

      public org.janusgraph.diskstorage.util.RecordIterator<org.janusgraph.diskstorage.Entry> getEntries()
      Specified by:
      getEntries in interface org.janusgraph.diskstorage.keycolumnvalue.KeyIterator
    • close

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

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<org.janusgraph.diskstorage.StaticBuffer>
    • next

      public org.janusgraph.diskstorage.StaticBuffer next()
      Specified by:
      next in interface Iterator<org.janusgraph.diskstorage.StaticBuffer>
    • scanCallback

      public void scanCallback(com.aerospike.client.Key key, com.aerospike.client.Record record) throws com.aerospike.client.AerospikeException
      Specified by:
      scanCallback in interface com.aerospike.client.ScanCallback
      Throws:
      com.aerospike.client.AerospikeException
    • setThread

      public void setThread(Thread thread)