io.quarkus.redis.datasource.geo.GeoUnit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
package io.quarkus.redis.datasource.geo;
import java.util.Locale;
public enum GeoUnit {
/**
* meter.
*/
M,
/**
* kilometer.
*/
KM,
/**
* feet.
*/
FT,
/**
* mile.
*/
MI;
public String toString() {
// Redis 6 requires lower case, uppercase has only been added in Redis 7.
return name().toLowerCase(Locale.ROOT);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy