@Override public boolean add(E e) { Boolean result = add(e, getDefaultScore()); checkResult(result); return result; }
@Override public RedisZSet<E> unionAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.unionAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.intersectAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> unionAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.unionAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.intersectAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public boolean add(E e) { Boolean result = add(e, getDefaultScore()); checkResult(result); return result; }
@Override public boolean add(E e) { Boolean result = add(e, getDefaultScore()); checkResult(result); return result; }
@Override public RedisZSet<E> unionAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.unionAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> unionAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.unionAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.intersectAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> unionAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.unionAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.intersectAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.intersectAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> unionAndStore(Collection<? extends RedisZSet<?>> sets, String destKey) { boundZSetOps.unionAndStore(CollectionUtils.extractKeys(sets), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }
@Override public RedisZSet<E> intersectAndStore(RedisZSet<?> set, String destKey) { boundZSetOps.intersectAndStore(set.getKey(), destKey); return new DefaultRedisZSet<>(boundZSetOps.getOperations().boundZSetOps(destKey), getDefaultScore()); }