com.redis.api

GeoApi

trait GeoApi extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeoApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): Option[Int]

    Add the given members in the key geo sorted set

    Add the given members in the key 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.

  2. abstract def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]

  3. abstract 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.

    A
    key
    members
    format
    parse
    returns

    The geohash of each queried member.

  4. abstract 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.

    A
    key
    members
    format
    parse
    returns

    the coordinates of the input members in the same order.

  5. abstract 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

  6. abstract 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

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  17. def toString(): String

    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped