java.lang.Object
org.eclipse.jnosql.databases.riak.communication.RiakUtils

public final class RiakUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K> com.basho.riak.client.api.commands.kv.DeleteValue
    createDeleteValue(com.basho.riak.client.core.query.Namespace namespace, K key)
     
    static <K> com.basho.riak.client.api.commands.kv.FetchValue
    createFetchValue(com.basho.riak.client.core.query.Namespace namespace, K key)
     
    static <K> com.basho.riak.client.core.query.Location
    createLocation(com.basho.riak.client.core.query.Namespace namespace, K key)
     
    static <K, V> com.basho.riak.client.api.commands.kv.StoreValue
    createStoreValue(K key, V value, com.basho.riak.client.core.query.Namespace namespace, Duration ttl)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createStoreValue

      public static <K, V> com.basho.riak.client.api.commands.kv.StoreValue createStoreValue(K key, V value, com.basho.riak.client.core.query.Namespace namespace, Duration ttl)
    • createLocation

      public static <K> com.basho.riak.client.core.query.Location createLocation(com.basho.riak.client.core.query.Namespace namespace, K key)
    • createFetchValue

      public static <K> com.basho.riak.client.api.commands.kv.FetchValue createFetchValue(com.basho.riak.client.core.query.Namespace namespace, K key)
    • createDeleteValue

      public static <K> com.basho.riak.client.api.commands.kv.DeleteValue createDeleteValue(com.basho.riak.client.core.query.Namespace namespace, K key)