|
|
|
@ -497,8 +497,9 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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.
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
@ -513,8 +514,9 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* in <code>GeoUnit</code> units and limited by count
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
@ -531,8 +533,9 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* and limited by count
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
@ -549,8 +552,9 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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.
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param member - object
|
|
|
|
@ -565,7 +569,8 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param member - object
|
|
|
|
@ -580,8 +585,9 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
* 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>
|
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
|
* in <code>GeoUnit</code> units with <code>GeoOrder</code>
|
|
|
|
|
* <p>
|
|
|
|
|
* Stores result to <code>destName</code>.
|
|
|
|
|
*
|
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
|
* @param member - object
|
|
|
|
@ -593,4 +599,111 @@ public interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V> {
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(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
|
|
|
|
|
*/
|
|
|
|
|
long radiusStoreSortedTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|