All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.commands.GeoPipelineCommands Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package redis.clients.jedis.commands;

import java.util.List;
import java.util.Map;

import redis.clients.jedis.GeoCoordinate;
import redis.clients.jedis.Response;
import redis.clients.jedis.args.GeoUnit;
import redis.clients.jedis.params.GeoAddParams;
import redis.clients.jedis.params.GeoRadiusParam;
import redis.clients.jedis.params.GeoRadiusStoreParam;
import redis.clients.jedis.params.GeoSearchParam;
import redis.clients.jedis.resps.GeoRadiusResponse;

public interface GeoPipelineCommands {

  Response geoadd(String key, double longitude, double latitude, String member);

  Response geoadd(String key, Map memberCoordinateMap);

  Response geoadd(String key, GeoAddParams params, Map memberCoordinateMap);

  Response geodist(String key, String member1, String member2);

  Response geodist(String key, String member1, String member2, GeoUnit unit);

  Response> geohash(String key, String... members);

  Response> geopos(String key, String... members);

  Response> georadius(String key, double longitude, double latitude, double radius,
      GeoUnit unit);

  Response> georadiusReadonly(String key, double longitude, double latitude,
      double radius, GeoUnit unit);

  Response> georadius(String key, double longitude, double latitude, double radius,
      GeoUnit unit, GeoRadiusParam param);

  Response> georadiusReadonly(String key, double longitude, double latitude,
      double radius, GeoUnit unit, GeoRadiusParam param);

  Response> georadiusByMember(String key, String member, double radius, GeoUnit unit);

  Response> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit);

  Response> georadiusByMember(String key, String member, double radius, GeoUnit unit,
      GeoRadiusParam param);

  Response> georadiusByMemberReadonly(String key, String member, double radius,
      GeoUnit unit, GeoRadiusParam param);

  Response georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit,
      GeoRadiusParam param, GeoRadiusStoreParam storeParam);

  Response georadiusByMemberStore(String key, String member, double radius, GeoUnit unit,
      GeoRadiusParam param, GeoRadiusStoreParam storeParam);

  Response> geosearch(String key, String member, double radius, GeoUnit unit);

  Response> geosearch(String key, GeoCoordinate coord, double radius, GeoUnit unit);

  Response> geosearch(String key, String member, double width, double height, GeoUnit unit);

  Response> geosearch(String key, GeoCoordinate coord, double width, double height, GeoUnit unit);

  Response> geosearch(String key, GeoSearchParam params);

  Response geosearchStore(String dest, String src, String member, double radius, GeoUnit unit);

  Response geosearchStore(String dest, String src, GeoCoordinate coord, double radius, GeoUnit unit);

  Response geosearchStore(String dest, String src, String member, double width, double height, GeoUnit unit);

  Response geosearchStore(String dest, String src, GeoCoordinate coord, double width, double height, GeoUnit unit);

  Response geosearchStore(String dest, String src, GeoSearchParam params);

  Response geosearchStoreStoreDist(String dest, String src, GeoSearchParam params);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy