Class ReactiveTransactionalGeoCommandsImpl<K,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
io.quarkus.redis.runtime.datasource.ReactiveTransactionalGeoCommandsImpl<K,V>
- All Implemented Interfaces:
ReactiveTransactionalGeoCommands<K,,V> ReactiveTransactionalRedisCommands
public class ReactiveTransactionalGeoCommandsImpl<K,V>
extends AbstractTransactionalCommands
implements ReactiveTransactionalGeoCommands<K,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
tx -
Constructor Summary
ConstructorsConstructorDescriptionReactiveTransactionalGeoCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveGeoCommandsImpl<K, V> reactive, TransactionHolder tx) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>geoadd(K key, double longitude, double latitude, V member, GeoAddArgs args) Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>geoadd(K key, GeoAddArgs args, GeoItem<V>... items) Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>geoadd(K key, GeoItem<V> item, GeoAddArgs args) Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>geoadd(K key, GeoPosition position, V member) Execute the command GEOADD.io.smallrye.mutiny.Uni<Void>Execute the command GEODIST.io.smallrye.mutiny.Uni<Void>Execute the command GEOHASH.io.smallrye.mutiny.Uni<Void>Execute the command GEOPOS.io.smallrye.mutiny.Uni<Void>Deprecated.io.smallrye.mutiny.Uni<Void>georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>georadius(K key, GeoPosition position, double radius, GeoUnit unit) Deprecated.io.smallrye.mutiny.Uni<Void>georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>georadiusbymember(K key, V member, double distance, GeoUnit unit) Deprecated.io.smallrye.mutiny.Uni<Void>georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.io.smallrye.mutiny.Uni<Void>geosearch(K key, GeoSearchArgs<V> args) Execute the command GEOSEARCH.io.smallrye.mutiny.Uni<Void>geosearchstore(K destination, K key, GeoSearchStoreArgs<V> args, boolean storeDist) Execute the command GEOSEARCHSTORE.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
getDataSource, queuedOrDiscardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
Constructor Details
-
ReactiveTransactionalGeoCommandsImpl
public ReactiveTransactionalGeoCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveGeoCommandsImpl<K, V> reactive, TransactionHolder tx)
-
-
Method Details
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keylongitude- the longitude coordinate according to WGS84.latitude- the latitude coordinate according to WGS84.member- the member to add.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyposition- the geo positionmember- the member to add.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyitem- the item to add- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyitems- the geo-item triplets containing the longitude, latitude and name / value- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
public io.smallrye.mutiny.Uni<Void> geoadd(K key, double longitude, double latitude, V member, GeoAddArgs args) Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<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.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyitem- the item to addargs- additional arguments.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geoadd
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geoaddin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyargs- additional arguments.items- the items containing the longitude, latitude and name / value- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geodist
Description copied from interface:ReactiveTransactionalGeoCommandsExecute the command GEODIST. Summary: Returns the distance between two members of a geospatial index Group: geo Requires Redis 3.2.0- Specified by:
geodistin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyfrom- from memberto- to memberunit- the unit- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geohash
Description copied from interface:ReactiveTransactionalGeoCommandsExecute the command GEOHASH. Summary: Returns members of a geospatial index as standard geohash strings Group: geo Requires Redis 3.2.0- Specified by:
geohashin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keymembers- the members- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geopos
Description copied from interface:ReactiveTransactionalGeoCommandsExecute the command GEOPOS. Summary: Returns longitude and latitude of members of a geospatial index Group: geo Requires Redis 3.2.0- Specified by:
geoposin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keymembers- the items- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, double longitude, double latitude, double radius, GeoUnit unit) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unit- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, GeoPosition position, double radius, GeoUnit unit) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyposition- the positionradius- the radiusunit- the unit- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unitgeoArgs- the extra arguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyposition- the positionradius- the radiusunit- the unitgeoArgs- the extra arguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keylongitude- the longitudelatitude- the latituderadius- the radiusunit- the unitgeoArgs- the extraSTOREarguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadius
@Deprecated public io.smallrye.mutiny.Uni<Void> georadius(K key, GeoPosition position, double radius, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keyposition- the positionradius- the radiusunit- the unitgeoArgs- the extraSTOREarguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadiusbymember
@Deprecated public io.smallrye.mutiny.Uni<Void> georadiusbymember(K key, V member, double distance, GeoUnit unit) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusbymemberin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keymember- the memberdistance- the max distance- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadiusbymember
@Deprecated public io.smallrye.mutiny.Uni<Void> georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusArgs geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusbymemberin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keymember- the memberdistance- the max distancegeoArgs- the extra arguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
georadiusbymember
@Deprecated public io.smallrye.mutiny.Uni<Void> georadiusbymember(K key, V member, double distance, GeoUnit unit, GeoRadiusStoreArgs<K> geoArgs) Deprecated.Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
georadiusbymemberin interfaceReactiveTransactionalGeoCommands<K,V> - Parameters:
key- the keymember- the memberdistance- the max distancegeoArgs- the extra arguments of theGEORADIUScommand- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geosearch
Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geosearchin interfaceReactiveTransactionalGeoCommands<K,V> - Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
geosearchstore
public io.smallrye.mutiny.Uni<Void> geosearchstore(K destination, K key, GeoSearchStoreArgs<V> args, boolean storeDist) Description copied from interface:ReactiveTransactionalGeoCommandsExecute 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:
geosearchstorein interfaceReactiveTransactionalGeoCommands<K,V> - Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-