|
|
@ -496,8 +496,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -512,8 +513,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* in <code>GeoUnit</code> units and limited by count
|
|
|
|
* in <code>GeoUnit</code> units and limited by count
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -530,8 +532,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
* and limited by count
|
|
|
|
* and limited by count.
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -548,8 +551,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -563,8 +567,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* in <code>GeoUnit</code> units and limited by count
|
|
|
|
* in <code>GeoUnit</code> units and limited by count.
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -579,8 +584,9 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -592,4 +598,110 @@ public interface RGeoAsync<V> extends RScoredSortedSetAsync<V> {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
|
|
|
|
* @param latitude - latitude of object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units and limited by count
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
|
|
|
|
* @param latitude - latitude of object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @param count - result limit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the center location
|
|
|
|
|
|
|
|
* and the maximum distance from the center (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
|
|
|
|
* and limited by count.
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
|
|
|
|
* @param latitude - latitude of object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @param geoOrder - order of result
|
|
|
|
|
|
|
|
* @param count - result limit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param member - object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units and limited by count.
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param member - object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @param count - result limit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Finds the members of a sorted set, which are within the
|
|
|
|
|
|
|
|
* borders of the area specified with the defined member location
|
|
|
|
|
|
|
|
* and the maximum distance from the defined member location (the radius)
|
|
|
|
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
|
|
|
* @param member - object
|
|
|
|
|
|
|
|
* @param radius - radius in geo units
|
|
|
|
|
|
|
|
* @param geoUnit - geo unit
|
|
|
|
|
|
|
|
* @param geoOrder - geo order
|
|
|
|
|
|
|
|
* @param count - result limit
|
|
|
|
|
|
|
|
* @return length of result
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|