Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Consistent operations documentation wording.
  • Loading branch information
mp911de committed Aug 17, 2023
1 parent 549f815 commit 0b123d2
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ private V readValue(ByteBuffer buffer) {

private GeoResult<GeoLocation<V>> readGeoResult(GeoResult<GeoLocation<ByteBuffer>> source) {

return new GeoResult<>(new GeoLocation(readValue(source.getContent().getName()), source.getContent().getPoint()),
return new GeoResult<>(new GeoLocation<>(readValue(source.getContent().getName()), source.getContent().getPoint()),
source.getDistance());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import org.springframework.data.redis.domain.geo.GeoShape;

/**
* Reactive Redis operations for geo commands.
* Reactive Redis operations for Geo Commands.
*
* @author Mark Paluch
* @author Christoph Strobl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.Map;

/**
* Redis map specific operations working on a hash.
* Reactive Redis operations for Hash Commands.
* <p>
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import reactor.core.publisher.Mono;

/**
* Redis cardinality specific operations working on a HyperLogLog multiset.
* Reactive Redis operations for working on a HyperLogLog multiset.
*
* @author Mark Paluch
* @since 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.springframework.util.Assert;

/**
* Redis list specific operations.
* Reactive Redis operations for List Commands.
* <p>
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import java.util.Map;

/**
* Redis set specific operations.
* Reactive Redis operations for Set Commands.
* <p>
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,20 @@
import java.util.Map;

import org.reactivestreams.Publisher;

import org.springframework.data.domain.Range;
import org.springframework.data.redis.connection.Limit;
import org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions;
import org.springframework.data.redis.connection.stream.ByteBufferRecord;
import org.springframework.data.redis.connection.stream.Consumer;
import org.springframework.data.redis.connection.stream.MapRecord;
import org.springframework.data.redis.connection.stream.ObjectRecord;
import org.springframework.data.redis.connection.stream.PendingMessage;
import org.springframework.data.redis.connection.stream.PendingMessages;
import org.springframework.data.redis.connection.stream.PendingMessagesSummary;
import org.springframework.data.redis.connection.stream.ReadOffset;
import org.springframework.data.redis.connection.stream.*;
import org.springframework.data.redis.connection.stream.Record;
import org.springframework.data.redis.connection.stream.RecordId;
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumer;
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroup;
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoStream;
import org.springframework.data.redis.connection.stream.StreamOffset;
import org.springframework.data.redis.connection.stream.StreamReadOptions;
import org.springframework.data.redis.connection.stream.StreamRecords;
import org.springframework.data.redis.hash.HashMapper;
import org.springframework.lang.Nullable;
import org.springframework.util.Assert;

/**
* Redis stream specific operations.
* Reactive Redis operations for Stream Commands.
*
* @author Mark Paluch
* @author Christoph Strobl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.springframework.lang.Nullable;

/**
* Redis ZSet/sorted set specific operations.
* Reactive Redis operations for Sorted (ZSet) Commands.
* <p>
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when
Expand Down

0 comments on commit 0b123d2

Please sign in to comment.