Interface RJsonBucketsReactive


public interface RJsonBucketsReactive
  • Method Summary

    Modifier and Type
    Method
    Description
    <V> reactor.core.publisher.Mono<Map<String,V>>
    get(String... keys)
    Returns Redis json object mapped by key with default path
    <V> reactor.core.publisher.Mono<Map<String,V>>
    get(JsonCodec codec, String path, String... keys)
    Returns Redis json object mapped by key with specific path
    reactor.core.publisher.Mono<Void>
    set(Map<String,?> buckets)
    Saves json objects with default path mapped by Redis key.
    reactor.core.publisher.Mono<Void>
    set(JsonCodec codec, String path, Map<String,?> buckets)
    Saves json objects with specific path mapped by Redis key.
  • Method Details

    • get

      <V> reactor.core.publisher.Mono<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> reactor.core.publisher.Mono<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

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

      reactor.core.publisher.Mono<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