|
|
@ -499,7 +499,8 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<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.
|
|
|
|
* in <code>GeoUnit</code> units.
|
|
|
|
* Store result to <code>destName</code>.
|
|
|
|
* <p>
|
|
|
|
|
|
|
|
* Stores result to <code>destName</code> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -514,8 +515,9 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<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>
|
|
|
|
|
|
|
|
* Store result to <code>destName</code> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -532,8 +534,9 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<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> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param longitude - longitude of object
|
|
|
|
* @param longitude - longitude of object
|
|
|
@ -551,7 +554,8 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<V> {
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
* Store result to <code>destName</code> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -565,8 +569,9 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<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>
|
|
|
|
|
|
|
|
* Store result to <code>destName</code> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -581,8 +586,9 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<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>
|
|
|
|
|
|
|
|
* Store result to <code>destName</code> sorted by distance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param destName - Geo object destination
|
|
|
|
* @param member - object
|
|
|
|
* @param member - object
|
|
|
@ -594,4 +600,111 @@ public interface RGeoRx<V> extends RScoredSortedSetRx<V> {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
Single<Long> radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Single<Long> radiusStoreSortedTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|