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

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

The 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 GeoPipelineBinaryCommands {

  Response geoadd(byte[] key, double longitude, double latitude, byte[] member);

  Response geoadd(byte[] key, Map memberCoordinateMap);

  Response geoadd(byte[] key, GeoAddParams params, Map memberCoordinateMap);

  Response geodist(byte[] key, byte[] member1, byte[] member2);

  Response geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit);

  Response> geohash(byte[] key, byte[]... members);

  Response> geopos(byte[] key, byte[]... members);

  Response> georadius(byte[] key, double longitude, double latitude, double radius,
      GeoUnit unit);

  Response> georadiusReadonly(byte[] key, double longitude, double latitude,
      double radius, GeoUnit unit);

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

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

  Response> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit);

  Response> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit);

  Response> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit,
      GeoRadiusParam param);

  Response> georadiusByMemberReadonly(byte[] key, byte[] member, double radius,
      GeoUnit unit, GeoRadiusParam param);

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

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

  Response> geosearch(byte[] key, byte[] member, double radius, GeoUnit unit);

  Response> geosearch(byte[] key, GeoCoordinate coord, double radius, GeoUnit unit);

  Response> geosearch(byte[] key, byte[] member, double width, double height, GeoUnit unit);

  Response> geosearch(byte[] key, GeoCoordinate coord, double width, double height, GeoUnit unit);

  Response> geosearch(byte[] key, GeoSearchParam params);

  Response geosearchStore(byte[] dest, byte[] src, byte[] member, double radius, GeoUnit unit);

  Response geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double radius, GeoUnit unit);

  Response geosearchStore(byte[] dest, byte[] src, byte[] member, double width, double height, GeoUnit unit);

  Response geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double width, double height, GeoUnit unit);

  Response geosearchStore(byte[] dest, byte[] src, GeoSearchParam params);

  Response geosearchStoreStoreDist(byte[] dest, byte[] src, GeoSearchParam params);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy