@Override public Flux<TypedTuple<V>> reverseRangeByScoreWithScores(K key, Range<Double> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); Assert.notNull(limit, "Limit must not be null!"); return createFlux( connection -> connection.zRevRangeByScoreWithScores(rawKey(key), range, limit).map(this::readTypedTuple)); }
@Override public Flux<V> reverseRangeByLex(K key, Range<String> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); Assert.notNull(limit, "Limit must not be null!"); return createFlux(connection -> connection.zRevRangeByLex(rawKey(key), range, limit).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> rangeByScoreWithScores(K key, Range<Double> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); Assert.notNull(limit, "Limit must not be null!"); return createFlux( connection -> connection.zRangeByScoreWithScores(rawKey(key), range, limit).map(this::readTypedTuple)); }
@Override public Flux<V> rangeByLex(K key, Range<String> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); Assert.notNull(limit, "Limit must not be null!"); return createFlux(connection -> connection.zRangeByLex(rawKey(key), range, limit).map(this::readValue)); }
@Override public Flux<V> reverseRangeByScore(K key, Range<Double> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeByScore(rawKey(key), range).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> rangeWithScores(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRangeWithScores(rawKey(key), range).map(this::readTypedTuple)); }
@Override public Flux<V> rangeByScore(K key, Range<Double> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRangeByScore(rawKey(key), range).map(this::readValue)); }
@Override public Flux<V> reverseRangeByScore(K key, Range<Double> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeByScore(rawKey(key), range, limit).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> reverseRangeByScoreWithScores(K key, Range<Double> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux( connection -> connection.zRevRangeByScoreWithScores(rawKey(key), range).map(this::readTypedTuple)); }
@Override public Flux<V> rangeByLex(K key, Range<String> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRangeByLex(rawKey(key), range).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> rangeByScoreWithScores(K key, Range<Double> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRangeByScoreWithScores(rawKey(key), range).map(this::readTypedTuple)); }
@Override public Flux<V> rangeByScore(K key, Range<Double> range, Limit limit) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRangeByScore(rawKey(key), range, limit).map(this::readValue)); }
@Override public Flux<V> reverseRange(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRange(rawKey(key), range).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> reverseRangeWithScores(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeWithScores(rawKey(key), range).map(this::readTypedTuple)); }
@Override public Flux<V> range(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRange(rawKey(key), range).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> scan(K key, ScanOptions options) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(options, "ScanOptions must not be null!"); return createFlux(connection -> connection.zScan(rawKey(key), options).map(this::readTypedTuple)); }
@Override public Flux<V> reverseRangeByLex(K key, Range<String> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeByLex(rawKey(key), range).map(this::readValue)); }
@Override public Flux<V> range(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRange(rawKey(key), range).map(this::readValue)); }
@Override public Flux<TypedTuple<V>> reverseRangeWithScores(K key, Range<Long> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeWithScores(rawKey(key), range).map(this::readTypedTuple)); }
@Override public Flux<V> reverseRangeByScore(K key, Range<Double> range) { Assert.notNull(key, "Key must not be null!"); Assert.notNull(range, "Range must not be null!"); return createFlux(connection -> connection.zRevRangeByScore(rawKey(key), range).map(this::readValue)); }