Package org.redisson

Class RedissonJsonBuckets

java.lang.Object
org.redisson.RedissonJsonBuckets
All Implemented Interfaces:
RJsonBuckets, RJsonBucketsAsync

public class RedissonJsonBuckets extends Object implements RJsonBuckets
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public <V> Map<String,V> get(String... keys)
      Description copied from interface: RJsonBuckets
      Returns Redis json object mapped by key with default path
      Specified by:
      get in interface RJsonBuckets
      Type Parameters:
      V - type of object with specific json-path
      Parameters:
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • getAsync

      public <V> RFuture<Map<String,V>> getAsync(String... keys)
      Description copied from interface: RJsonBucketsAsync
      Returns Redis json object mapped by key with default path
      Specified by:
      getAsync in interface RJsonBucketsAsync
      Type Parameters:
      V - type of object with specific json-path
      Parameters:
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • get

      public <V> Map<String,V> get(JsonCodec codec, String path, String... keys)
      Description copied from interface: RJsonBuckets
      Returns Redis json object mapped by key with specific path
      Specified by:
      get in interface RJsonBuckets
      Type Parameters:
      V - type of value at specific json-path
      Parameters:
      codec - codec for specific path
      path - json path
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • getAsync

      public <V> RFuture<Map<String,V>> getAsync(JsonCodec codec, String path, String... keys)
      Description copied from interface: RJsonBucketsAsync
      Returns Redis json object mapped by key with specific path
      Specified by:
      getAsync in interface RJsonBucketsAsync
      Type Parameters:
      V - type of value at specific json-path
      Parameters:
      codec - codec for specific path
      path - json path
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • set

      public void set(Map<String,?> buckets)
      Description copied from interface: RJsonBuckets
      Saves json objects with default path mapped by Redis key.
      Specified by:
      set in interface RJsonBuckets
      Parameters:
      buckets - map of json buckets
    • setAsync

      public RFuture<Void> setAsync(Map<String,?> buckets)
      Description copied from interface: RJsonBucketsAsync
      Saves json objects with default path mapped by Redis key.
      Specified by:
      setAsync in interface RJsonBucketsAsync
      Parameters:
      buckets - map of json buckets
    • set

      public void set(JsonCodec codec, String path, Map<String,?> buckets)
      Description copied from interface: RJsonBuckets
      Saves json objects with specific path mapped by Redis key.
      Specified by:
      set in interface RJsonBuckets
      Parameters:
      codec - codec for specific path
      path - json path
      buckets - map of json buckets
    • setAsync

      public RFuture<Void> setAsync(JsonCodec codec, String path, Map<String,?> buckets)
      Description copied from interface: RJsonBucketsAsync
      Saves json objects with specific path mapped by Redis key.
      Specified by:
      setAsync in interface RJsonBucketsAsync
      Parameters:
      codec - codec for specific path
      path - json path
      buckets - map of json buckets