Package io.quarkus.redis.datasource.geo
Interface TransactionalGeoCommands<K,V>
- All Superinterfaces:
TransactionalRedisCommands
- All Known Implementing Classes:
BlockingTransactionalGeoCommandsImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecute the command GEOADD.voidgeoadd(K key, double longitude, double latitude, V member, GeoAddArgs args) Execute the command GEOADD.voidgeoadd(K key, GeoAddArgs args, GeoItem<V>... items) Execute the command GEOADD.voidExecute the command GEOADD.voidExecute the command GEOADD.voidgeoadd(K key, GeoItem<V> item, GeoAddArgs args) Execute the command GEOADD.voidgeoadd(K key, GeoPosition position, V member) Execute the command GEOADD.voidExecute the command GEODIST.voidExecute the command GEOHASH.voidExecute the command GEOPOS.voidDeprecated.See https://redis.io/commands/georadiusvoidgeoradius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusvoidgeoradius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusvoidgeoradius(K key, GeoPosition position, double radius, GeoUnit unit) Deprecated.See https://redis.io/commands/georadiusvoidgeoradius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusvoidgeoradius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusvoidgeoradiusbymember(K key, V member, double distance, GeoUnit unit) Deprecated.See https://redis.io/commands/georadiusbymembervoidgeoradiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusbymembervoidgeoradiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusbymembervoidgeosearch(K key, GeoSearchArgs<V> args) Execute the command GEOSEARCH.voidgeosearchstore(K destination, K key, GeoSearchStoreArgs<V> args, boolean storeDist) Execute the command GEOSEARCHSTORE.Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Method Details
-
geoadd
Execute the command GEOADD. Summary: Add one geospatial item in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keylongitude- the longitude coordinate according to WGS84.latitude- the latitude coordinate according to WGS84.member- the member to add.
-
geoadd
Execute the command GEOADD. Summary: Add one geospatial item in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keyposition- the geo positionmember- the member to add.
-
geoadd
Execute the command GEOADD. Summary: Add one geospatial item in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keyitem- the item to add
-
geoadd
Execute the command GEOADD. Summary: Add one or more geospatial items in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keyitems- the geo-item triplets containing the longitude, latitude and name / value
-
geoadd
Execute the command GEOADD. Summary: Add one geospatial item in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keylongitude- the longitude coordinate according to WGS84.latitude- the latitude coordinate according to WGS84.member- the member to add.args- additional arguments.
-
geoadd
Execute the command GEOADD. Summary: Add one geospatial item in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keyitem- the item to addargs- additional arguments.
-
geoadd
Execute the command GEOADD. Summary: Add one or more geospatial items in the geospatial index represented using a sorted set Group: geo Requires Redis 3.2.0- Parameters:
key- the keyargs- additional arguments.items- the items containing the longitude, latitude and name / value
-
geodist
Execute the command GEODIST. Summary: Returns the distance between two members of a geospatial index Group: geo Requires Redis 3.2.0- Parameters:
key- the keyfrom- from memberto- to memberunit- the unit
-
geohash
Execute the command GEOHASH. Summary: Returns members of a geospatial index as standard geohash strings Group: geo Requires Redis 3.2.0- Parameters:
key- the keymembers- the members
-
geopos
Execute the command GEOPOS. Summary: Returns longitude and latitude of members of a geospatial index Group: geo Requires Redis 3.2.0- Parameters:
key- the keymembers- the items
-
georadius
Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point Group: geo Requires Redis 3.2.0- Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unit
-
georadius
Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point Group: geo Requires Redis 3.2.0- Parameters:
key- the keyposition- the positionradius- the radiusunit- the unit
-
georadius
@Deprecated void georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point Group: geo Requires Redis 3.2.0- Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unitgeoArgs- the extra arguments of theGEORADIUScommand
-
georadius
@Deprecated void georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point Group: geo Requires Redis 3.2.0- Parameters:
key- the keyposition- the positionradius- the radiusunit- the unitgeoArgs- the extra arguments of theGEORADIUScommand
-
georadius
@Deprecated void georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point. It also stores the results in a sorted set. Group: geo Requires Redis 3.2.0- Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unitgeoArgs- the extraSTOREarguments of theGEORADIUScommand
-
georadius
@Deprecated void georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusExecute the command GEORADIUS. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point. It also stores the results in a sorted set. Group: geo Requires Redis 3.2.0- Parameters:
key- the keyposition- the positionradius- the radiusunit- the unitgeoArgs- the extraSTOREarguments of theGEORADIUScommand
-
georadiusbymember
Deprecated.See https://redis.io/commands/georadiusbymemberExecute the command GEORADIUSBYMEMBER. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member Group: geo Requires Redis 3.2.0- Parameters:
key- the keymember- the memberdistance- the max distance
-
georadiusbymember
@Deprecated void georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.See https://redis.io/commands/georadiusbymemberExecute the command GEORADIUSBYMEMBER. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member Group: geo Requires Redis 3.2.0- Parameters:
key- the keymember- the memberdistance- the max distancegeoArgs- the extra arguments of theGEORADIUScommand
-
georadiusbymember
@Deprecated void georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.See https://redis.io/commands/georadiusbymemberExecute the command GEORADIUSBYMEMBER. Summary: Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member. It also stores the results in a sorted set. Group: geo Requires Redis 3.2.0- Parameters:
key- the keymember- the memberdistance- the max distancegeoArgs- the extra arguments of theGEORADIUScommand
-
geosearch
Execute the command GEOSEARCH. Summary: Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle. Group: geo Requires Redis 6.2.0 -
geosearchstore
Execute the command GEOSEARCHSTORE. Summary: Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key. Group: geo Requires Redis 6.2.0
-