trait GeoOperations[F[+_]] extends GeoApi[F]
- Alphabetic
- By Inheritance
- GeoOperations
- GeoApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to any2stringadd[GeoOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (GeoOperations[F], B)
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to ArrowAssoc[GeoOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
ensuring(cond: (GeoOperations[F]) ⇒ Boolean, msg: ⇒ Any): GeoOperations[F]
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to Ensuring[GeoOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (GeoOperations[F]) ⇒ Boolean): GeoOperations[F]
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to Ensuring[GeoOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): GeoOperations[F]
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to Ensuring[GeoOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): GeoOperations[F]
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to Ensuring[GeoOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to StringFormat[GeoOperations[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): F[Resp[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]): F[Resp[Option[String]]]
- Definition Classes
- GeoOperations → GeoApi
-
def
geohash[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): F[Resp[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]): F[Resp[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]): F[Resp[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]): F[Resp[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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (GeoOperations[F], B)
- Implicit
- This member is added by an implicit conversion from GeoOperations[F] to ArrowAssoc[GeoOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc