Class KeyObject

java.lang.Object
com.aerospike.client.reactor.dto.KeyObject

public final class KeyObject
extends Object
Container object for key identifier and data.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    com.aerospike.client.Key key
    Unique identifier for record.
    Object value
    Data.
  • Constructor Summary

    Constructors 
    Constructor Description
    KeyObject​(com.aerospike.client.Key key, Object value)
    Initialize key and record.
  • Method Summary

    Modifier and Type Method Description
    String toString()
    Convert key and record to string.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • key

      public final com.aerospike.client.Key key
      Unique identifier for record.
    • value

      public final Object value
      Data.
  • Constructor Details

    • KeyObject

      public KeyObject​(com.aerospike.client.Key key, Object value)
      Initialize key and record.
  • Method Details