trait GeoOperations extends GeoApi
- Alphabetic
- By Inheritance
- GeoOperations
- GeoApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): Option[Int]
Add the given
members
in thekey
geo sorted setAdd the given
members
in thekey
geo sorted set- key
The geo sorted set
- members
The members to be added. Format is (longitude, latitude, member)
- returns
The number of elements added to the index. Repeated elements are not added.
- Definition Classes
- GeoOperations → GeoApi
- def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]
- Definition Classes
- GeoOperations → GeoApi
- def geohash[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]
Get the geohash for each member in the key geo index.
Get the geohash for each member in the key geo index.
- returns
The geohash of each queried member.
- Definition Classes
- GeoOperations → GeoApi
- def geopos[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[List[Option[A]]]]]
Retrieve the position of the members in the key geo sorted set.
Retrieve the position of the members in the key geo sorted set. Note that if a member is not part of the set, None will be returned for this element.
- returns
the coordinates of the input members in the same order.
- Definition Classes
- GeoOperations → GeoApi
- def georadius(key: Any, longitude: Any, latitude: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any]): Option[List[Option[GeoRadiusMember]]]
Search for members around an origin point in the key geo sorted set
Search for members around an origin point in the key geo sorted set
- key
The geo index we are searching in
- longitude
The base longitude for distance computation
- latitude
The base latitude for distance computation
- radius
The radius of the circle we want to search in
- unit
The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)
- withCoord
If true, the coordinate of the found members will be returned in the result
- withDist
If true, the distance between the origin and the found members will be returned in the result
- withHash
If true, the hash of the found members will be returned in the result
- count
Max number of expected results
- sort
The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)
- store
The Redis store we want to write the result in
- storeDist
The redis storedist we want to write the result in
- returns
The found members as GeoRadiusMember instances
- Definition Classes
- GeoOperations → GeoApi
- def georadiusbymember[A](key: Any, member: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[GeoRadiusMember]]]
Search for members around a specific memberin the key geo sorted set
Search for members around a specific memberin the key geo sorted set
- key
The geo index we are searching in
- member
The member we are searching around
- radius
The radius of the circle we want to search in
- unit
The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)
- withCoord
If true, the coordinate of the found members will be returned in the result
- withDist
If true, the distance between the origin and the found members will be returned in the result
- withHash
If true, the hash of the found members will be returned in the result
- count
Max number of expected results
- sort
The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)
- store
The Redis store we want to write the result in
- storeDist
The redis storedist we want to write the result in
- returns
The found members as GeoRadiusMember instances
- Definition Classes
- GeoOperations → GeoApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()