Interface ReactiveTransactionalGeoCommands<K,​V>

    • Method Detail

      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            double longitude,
                                            double latitude,
                                            V member)
        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 key
        longitude - the longitude coordinate according to WGS84.
        latitude - the latitude coordinate according to WGS84.
        member - the member to add.
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            GeoPosition position,
                                            V member)
        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 key
        position - the geo position
        member - the member to add.
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            GeoItem<V> item)
        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 key
        item - the item to add
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            GeoItem<V>... items)
        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 key
        items - the geo-item triplets containing the longitude, latitude and name / value
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            double longitude,
                                            double latitude,
                                            V member,
                                            GeoAddArgs args)
        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 key
        longitude - the longitude coordinate according to WGS84.
        latitude - the latitude coordinate according to WGS84.
        member - the member to add.
        args - additional arguments.
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            GeoItem<V> item,
                                            GeoAddArgs args)
        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 key
        item - the item to add
        args - additional arguments.
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geoadd

        io.smallrye.mutiny.Uni<Void> geoadd​(K key,
                                            GeoAddArgs args,
                                            GeoItem<V>... items)
        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 key
        args - additional arguments.
        items - the items containing the longitude, latitude and name / value
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geodist

        io.smallrye.mutiny.Uni<Void> geodist​(K key,
                                             V from,
                                             V to,
                                             GeoUnit unit)
        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 key
        from - from member
        to - to member
        unit - the unit
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geohash

        io.smallrye.mutiny.Uni<Void> geohash​(K key,
                                             V... members)
        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 key
        members - the members
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geopos

        io.smallrye.mutiny.Uni<Void> geopos​(K key,
                                            V... members)
        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 key
        members - the items
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               double longitude,
                                               double latitude,
                                               double radius,
                                               GeoUnit unit)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        longitude - the longitude
        latitude - the latitude
        radius - the radius
        unit - the unit
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               GeoPosition position,
                                               double radius,
                                               GeoUnit unit)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        position - the position
        radius - the radius
        unit - the unit
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               double longitude,
                                               double latitude,
                                               double radius,
                                               GeoUnit unit,
                                               GeoRadiusArgs geoArgs)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        longitude - the longitude
        latitude - the latitude
        radius - the radius
        unit - the unit
        geoArgs - the extra arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               GeoPosition position,
                                               double radius,
                                               GeoUnit unit,
                                               GeoRadiusArgs geoArgs)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        position - the position
        radius - the radius
        unit - the unit
        geoArgs - the extra arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               double longitude,
                                               double latitude,
                                               double radius,
                                               GeoUnit unit,
                                               GeoRadiusStoreArgs<K> geoArgs)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        longitude - the longitude
        latitude - the latitude
        radius - the radius
        unit - the unit
        geoArgs - the extra STORE arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadius

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadius​(K key,
                                               GeoPosition position,
                                               double radius,
                                               GeoUnit unit,
                                               GeoRadiusStoreArgs<K> geoArgs)
        Deprecated.
        See https://redis.io/commands/georadius
        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
        Parameters:
        key - the key
        position - the position
        radius - the radius
        unit - the unit
        geoArgs - the extra STORE arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadiusbymember

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadiusbymember​(K key,
                                                       V member,
                                                       double distance,
                                                       GeoUnit unit)
        Deprecated.
        See https://redis.io/commands/georadiusbymember
        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
        Parameters:
        key - the key
        member - the member
        distance - the max distance
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadiusbymember

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadiusbymember​(K key,
                                                       V member,
                                                       double distance,
                                                       GeoUnit unit,
                                                       GeoRadiusArgs geoArgs)
        Deprecated.
        See https://redis.io/commands/georadiusbymember
        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
        Parameters:
        key - the key
        member - the member
        distance - the max distance
        geoArgs - the extra arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • georadiusbymember

        @Deprecated
        io.smallrye.mutiny.Uni<Void> georadiusbymember​(K key,
                                                       V member,
                                                       double distance,
                                                       GeoUnit unit,
                                                       GeoRadiusStoreArgs<K> geoArgs)
        Deprecated.
        See https://redis.io/commands/georadiusbymember
        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
        Parameters:
        key - the key
        member - the member
        distance - the max distance
        geoArgs - the extra arguments of the GEORADIUS command
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geosearch

        io.smallrye.mutiny.Uni<Void> geosearch​(K key,
                                               GeoSearchArgs<V> args)
        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
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • geosearchstore

        io.smallrye.mutiny.Uni<Void> geosearchstore​(K destination,
                                                    K key,
                                                    GeoSearchStoreArgs<V> args,
                                                    boolean storeDist)
        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
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.