Interface RJsonBuckets

All Superinterfaces:
RJsonBucketsAsync
All Known Implementing Classes:
RedissonJsonBuckets

public interface RJsonBuckets extends RJsonBucketsAsync
  • Method Details

    • get

      <V> Map<String,V> get(String... keys)
      Returns Redis json object mapped by key with default path
      Type Parameters:
      V - type of object with specific json-path
      Parameters:
      keys - keys
      Returns:
      Map with name as key and bucket as value
    • get

      <V> Map<String,V> get(JsonCodec codec, String path, String... keys)
      Returns Redis json object mapped by key with specific path
      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

      void set(Map<String,?> buckets)
      Saves json objects with default path mapped by Redis key.
      Parameters:
      buckets - map of json buckets
    • set

      void set(JsonCodec codec, String path, Map<String,?> buckets)
      Saves json objects with specific path mapped by Redis key.
      Parameters:
      codec - codec for specific path
      path - json path
      buckets - map of json buckets