Package io.quarkus.redis.datasource.geo
Class GeoValue<V>
- java.lang.Object
-
- io.quarkus.redis.datasource.geo.GeoValue<V>
-
- Type Parameters:
V
- the member type
public class GeoValue<V> extends Object
Represents a value returned fromGEO
commands. The fields may not be populated. It depends on theGEO
commands parameters
-
-
Field Summary
Fields Modifier and Type Field Description OptionalDouble
distance
OptionalLong
geohash
OptionalDouble
latitude
OptionalDouble
longitude
V
member
-
Constructor Summary
Constructors Constructor Description GeoValue(V member, OptionalDouble distance, OptionalLong geohash, OptionalDouble longitude, OptionalDouble latitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionalDouble
distance()
OptionalLong
geohash()
OptionalDouble
latitude()
OptionalDouble
longitude()
V
member()
Optional<GeoPosition>
position()
-
-
-
Field Detail
-
member
public final V member
-
distance
public final OptionalDouble distance
-
geohash
public final OptionalLong geohash
-
longitude
public final OptionalDouble longitude
-
latitude
public final OptionalDouble latitude
-
-
Constructor Detail
-
GeoValue
public GeoValue(V member, OptionalDouble distance, OptionalLong geohash, OptionalDouble longitude, OptionalDouble latitude)
-
-
Method Detail
-
member
public V member()
-
distance
public OptionalDouble distance()
-
geohash
public OptionalLong geohash()
-
longitude
public OptionalDouble longitude()
-
latitude
public OptionalDouble latitude()
-
position
public Optional<GeoPosition> position()
-
-