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

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

  • Method Details

    • put

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

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

      public Object get​(Object id, String keyspace)
    • delete

      public Object delete​(Object id, String keyspace)
    • getAllOf

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

      public void deleteAllOf​(String keyspace)
    • clear

      public void clear()
    • destroy

      public void destroy() throws Exception
      Throws:
      Exception
    • find

      public Collection<?> find​(org.springframework.data.keyvalue.core.query.KeyValueQuery<?> query, String keyspace)
      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)
    • count

      public long count​(String keyspace)