Class AerospikeKeyValueAdapter

java.lang.Object
org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
org.springframework.data.aerospike.core.AerospikeKeyValueAdapter
All Implemented Interfaces:
DisposableBean, org.springframework.data.keyvalue.core.KeyValueAdapter

@Deprecated public class AerospikeKeyValueAdapter extends org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
Deprecated.
Use AerospikeTemplate instead
An Aerospike-specific KeyValueAdapter to implement core sore interactions to be used by the KeyValueTemplate.
Author:
Oliver Gierke
  • Constructor Details

    • AerospikeKeyValueAdapter

      public AerospikeKeyValueAdapter(com.aerospike.client.IAerospikeClient client, AerospikeConverter converter, String namespace)
      Deprecated.
      Creates a new AerospikeKeyValueAdapter using the given IAerospikeClient and AerospikeConverter.
      Parameters:
      client - must not be null.
      converter - must not be null.
  • Method Details

    • put

      public Object put(Object id, Object item, String keyspace)
      Deprecated.
    • contains

      public boolean contains(Object id, String keyspace)
      Deprecated.
    • get

      public Object get(Object id, String keyspace)
      Deprecated.
    • delete

      public Object delete(Object id, String keyspace)
      Deprecated.
    • getAllOf

      public Collection<?> getAllOf(String keyspace)
      Deprecated.
    • deleteAllOf

      public void deleteAllOf(String keyspace)
      Deprecated.
    • clear

      public void clear()
      Deprecated.
    • destroy

      public void destroy()
      Deprecated.
    • find

      public Collection<?> find(org.springframework.data.keyvalue.core.query.KeyValueQuery<?> query, String keyspace)
      Deprecated.
      Specified by:
      find in interface org.springframework.data.keyvalue.core.KeyValueAdapter
      Overrides:
      find in class org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
    • entries

      public CloseableIterator<Map.Entry<Object,Object>> entries(String keyspace)
      Deprecated.
    • count

      public long count(String keyspace)
      Deprecated.