RGeo should extends RScoredSortedSet. #635

pull/653/head
Nikita 8 years ago
parent a321e6d8ba
commit f1bd20aed2

@ -49,7 +49,7 @@ import org.redisson.connection.decoder.MapGetAllDecoder;
*
* @param <V> value
*/
public class RedissonGeo<V> extends RedissonExpirable implements RGeo<V> {
public class RedissonGeo<V> extends RedissonScoredSortedSet<V> implements RGeo<V> {
MultiDecoder<Map<Object, Object>> postitionDecoder;
MultiDecoder<Map<Object, Object>> distanceDecoder;

@ -25,7 +25,7 @@ import java.util.Map;
*
* @param <V> type of value
*/
public interface RGeo<V> extends RExpirable, RGeoAsync<V> {
public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
/**
* Adds geospatial member.

@ -24,7 +24,7 @@ import java.util.Map;
*
* @param <V> type of value
*/
public interface RGeoAsync<V> extends RExpirableAsync {
public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
/**
* Adds geospatial member.

Loading…
Cancel
Save