redis.clients.jedis.commands.GeoBinaryCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
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.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 GeoBinaryCommands {
long geoadd(byte[] key, double longitude, double latitude, byte[] member);
long geoadd(byte[] key, Map memberCoordinateMap);
long geoadd(byte[] key, GeoAddParams params, Map memberCoordinateMap);
Double geodist(byte[] key, byte[] member1, byte[] member2);
Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit);
List geohash(byte[] key, byte[]... members);
List geopos(byte[] key, byte[]... members);
List georadius(byte[] key, double longitude, double latitude, double radius,
GeoUnit unit);
List georadiusReadonly(byte[] key, double longitude, double latitude,
double radius, GeoUnit unit);
List georadius(byte[] key, double longitude, double latitude, double radius,
GeoUnit unit, GeoRadiusParam param);
List georadiusReadonly(byte[] key, double longitude, double latitude,
double radius, GeoUnit unit, GeoRadiusParam param);
List georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit);
List georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit);
List georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit,
GeoRadiusParam param);
List georadiusByMemberReadonly(byte[] key, byte[] member, double radius,
GeoUnit unit, GeoRadiusParam param);
long georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit,
GeoRadiusParam param, GeoRadiusStoreParam storeParam);
long georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit,
GeoRadiusParam param, GeoRadiusStoreParam storeParam);
List geosearch(byte[] key, byte[] member, double radius, GeoUnit unit);
List geosearch(byte[] key, GeoCoordinate coord, double radius, GeoUnit unit);
List geosearch(byte[] key, byte[] member, double width, double height, GeoUnit unit);
List geosearch(byte[] key, GeoCoordinate coord, double width, double height, GeoUnit unit);
List geosearch(byte[] key, GeoSearchParam params);
long geosearchStore(byte[] dest, byte[] src, byte[] member, double radius, GeoUnit unit);
long geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double radius, GeoUnit unit);
long geosearchStore(byte[] dest, byte[] src, byte[] member, double width, double height, GeoUnit unit);
long geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double width, double height, GeoUnit unit);
long geosearchStore(byte[] dest, byte[] src, GeoSearchParam params);
long geosearchStoreStoreDist(byte[] dest, byte[] src, GeoSearchParam params);
}