Class BlockingTransactionalGeoCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
-
- io.quarkus.redis.runtime.datasource.BlockingTransactionalGeoCommandsImpl<K,V>
-
- All Implemented Interfaces:
TransactionalGeoCommands<K,V>
,TransactionalRedisCommands
public class BlockingTransactionalGeoCommandsImpl<K,V> extends AbstractTransactionalRedisCommandGroup implements TransactionalGeoCommands<K,V>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout
-
-
Constructor Summary
Constructors Constructor Description BlockingTransactionalGeoCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalGeoCommands<K,V> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
geoadd(K key, double longitude, double latitude, V member)
Execute the command GEOADD.void
geoadd(K key, double longitude, double latitude, V member, GeoAddArgs args)
Execute the command GEOADD.void
geoadd(K key, GeoAddArgs args, GeoItem<V>... items)
Execute the command GEOADD.void
geoadd(K key, GeoItem<V> item)
Execute the command GEOADD.void
geoadd(K key, GeoItem<V>... items)
Execute the command GEOADD.void
geoadd(K key, GeoItem<V> item, GeoAddArgs args)
Execute the command GEOADD.void
geoadd(K key, GeoPosition position, V member)
Execute the command GEOADD.void
geodist(K key, V from, V to, GeoUnit unit)
Execute the command GEODIST.void
geohash(K key, V... members)
Execute the command GEOHASH.void
geopos(K key, V... members)
Execute the command GEOPOS.void
georadius(K key, double longitude, double latitude, double radius, GeoUnit unit)
Deprecated.void
georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.void
georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.void
georadius(K key, GeoPosition position, double radius, GeoUnit unit)
Deprecated.void
georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.void
georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.void
georadiusbymember(K key, V member, double distance, GeoUnit unit)
Deprecated.void
georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.void
georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.void
geosearch(K key, GeoSearchArgs<V> args)
Execute the command GEOSEARCH.void
geosearchstore(K destination, K key, GeoSearchStoreArgs<V> args, boolean storeDist)
Execute the command GEOSEARCHSTORE.-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
BlockingTransactionalGeoCommandsImpl
public BlockingTransactionalGeoCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalGeoCommands<K,V> reactive, Duration timeout)
-
-
Method Detail
-
geoadd
public void geoadd(K key, double longitude, double latitude, V member)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keylongitude
- the longitude coordinate according to WGS84.latitude
- the latitude coordinate according to WGS84.member
- the member to add.
-
geoadd
public void geoadd(K key, GeoPosition position, V member)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyposition
- the geo positionmember
- the member to add.
-
geoadd
public void geoadd(K key, GeoItem<V> item)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyitem
- the item to add
-
geoadd
public void geoadd(K key, GeoItem<V>... items)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyitems
- the geo-item triplets containing the longitude, latitude and name / value
-
geoadd
public void geoadd(K key, double longitude, double latitude, V member, GeoAddArgs args)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- 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
public void geoadd(K key, GeoItem<V> item, GeoAddArgs args)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyitem
- the item to addargs
- additional arguments.
-
geoadd
public void geoadd(K key, GeoAddArgs args, GeoItem<V>... items)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geoadd
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyargs
- additional arguments.items
- the items containing the longitude, latitude and name / value
-
geodist
public void geodist(K key, V from, V to, GeoUnit unit)
Description copied from interface:TransactionalGeoCommands
Execute the command GEODIST. Summary: Returns the distance between two members of a geospatial index Group: geo Requires Redis 3.2.0- Specified by:
geodist
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyfrom
- from memberto
- to memberunit
- the unit
-
geohash
public void geohash(K key, V... members)
Description copied from interface:TransactionalGeoCommands
Execute the command GEOHASH. Summary: Returns members of a geospatial index as standard geohash strings Group: geo Requires Redis 3.2.0- Specified by:
geohash
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keymembers
- the members
-
geopos
public void geopos(K key, V... members)
Description copied from interface:TransactionalGeoCommands
Execute the command GEOPOS. Summary: Returns longitude and latitude of members of a geospatial index Group: geo Requires Redis 3.2.0- Specified by:
geopos
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keymembers
- the items
-
georadius
@Deprecated public void georadius(K key, double longitude, double latitude, double radius, GeoUnit unit)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keylongitude
- the longitudelatitude
- the latituderadius
- the radiusunit
- the unit
-
georadius
@Deprecated public void georadius(K key, GeoPosition position, double radius, GeoUnit unit)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyposition
- the positionradius
- the radiusunit
- the unit
-
georadius
@Deprecated public void georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keylongitude
- the longitudelatitude
- the latituderadius
- the radiusunit
- the unitgeoArgs
- the extra arguments of theGEORADIUS
command
-
georadius
@Deprecated public void georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyposition
- the positionradius
- the radiusunit
- the unitgeoArgs
- the extra arguments of theGEORADIUS
command
-
georadius
@Deprecated public void georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keylongitude
- the longitudelatitude
- the latituderadius
- the radiusunit
- the unitgeoArgs
- the extraSTORE
arguments of theGEORADIUS
command
-
georadius
@Deprecated public void georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadius
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keyposition
- the positionradius
- the radiusunit
- the unitgeoArgs
- the extraSTORE
arguments of theGEORADIUS
command
-
georadiusbymember
@Deprecated public void georadiusbymember(K key, V member, double distance, GeoUnit unit)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadiusbymember
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keymember
- the memberdistance
- the max distance
-
georadiusbymember
@Deprecated public void georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadiusbymember
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keymember
- the memberdistance
- the max distancegeoArgs
- the extra arguments of theGEORADIUS
command
-
georadiusbymember
@Deprecated public void georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs)
Deprecated.Description copied from interface:TransactionalGeoCommands
Execute 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- Specified by:
georadiusbymember
in interfaceTransactionalGeoCommands<K,V>
- Parameters:
key
- the keymember
- the memberdistance
- the max distancegeoArgs
- the extra arguments of theGEORADIUS
command
-
geosearch
public void geosearch(K key, GeoSearchArgs<V> args)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geosearch
in interfaceTransactionalGeoCommands<K,V>
-
geosearchstore
public void geosearchstore(K destination, K key, GeoSearchStoreArgs<V> args, boolean storeDist)
Description copied from interface:TransactionalGeoCommands
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- Specified by:
geosearchstore
in interfaceTransactionalGeoCommands<K,V>
-
-