redis.clients.jedis.args.GeoUnit 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.args;
import java.util.Locale;
import redis.clients.jedis.util.SafeEncoder;
public enum GeoUnit implements Rawable {
M, KM, MI, FT;
private final byte[] raw;
private GeoUnit() {
raw = SafeEncoder.encode(name().toLowerCase(Locale.ENGLISH));
}
@Override
public byte[] getRaw() {
return raw;
}
}