@Override
    public void set(Map<String, ?> buckets) {
        commandExecutor.get(setAsync(buckets));
    }
@Test
    public void testSetWithPath() {
        RJsonBuckets buckets = redisson.getJsonBuckets(new JacksonCodec<>(TestType.class));
        Map<String, Object> map = new HashMap<>();
        IntStream.range(0, 1000).forEach(i -> {
            TestType testType = new TestType();
            testType.setName("name" + i);
            NestedType nestedType = new NestedType();
            nestedType.setValue(i);
            testType.setType(nestedType);
            map.put(testType.getName(), testType);
        });
        buckets.set(map);
        
        map.clear();
        IntStream.range(0, 1000).forEach(i -> {
            map.put("name" + i, i + 1);
        });
        buckets.set(new IntegerCodec(), "$.type.value", map);
    }