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
    final com.aerospike.client.Key
    Unique identifier for record.
    final Object
    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
    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

    • toString

      public String toString()
      Convert key and record to string.
      Overrides:
      toString in class Object