trait GeoApi extends ApiSubset
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- GeoApi
- ApiSubset
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
Field = RedisSerialization.Field
- Definition Classes
- ApiSubset
-
type
Key = RedisSerialization.Key
- Definition Classes
- ApiSubset
-
type
Record = RedisSerialization.Record
- Definition Classes
- ApiSubset
-
abstract
type
Result[A]
The type constructor into which a result of each command is wrapped.
-
type
Value = RedisSerialization.Value
- Definition Classes
- ApiSubset
Abstract Value Members
-
abstract
def
execute[A](command: RedisCommand[A]): Result[A]
- Definition Classes
- ApiSubset
-
abstract
val
serialization: RedisSerialization
- Definition Classes
- ApiSubset
Concrete Value Members
-
def
geoadd(key: Key, items: Iterable[(Value, GeoPoint)]): Result[Int]
Executes GEOADD or simply returns 0 when
items
is empty, without sending the command Redis -
def
geoadd(key: Key, item: (Value, GeoPoint), items: (Value, GeoPoint)*): Result[Int]
Executes GEOADD
-
def
geoadd(key: Key, member: Value, point: GeoPoint): Result[Boolean]
Executes GEOADD
-
def
geodist(key: Key, member1: Value, member2: Value, unit: GeoUnit = GeoUnit.M): Result[commons.Opt[Double]]
Executes GEODIST
-
def
geohash(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoHash]]]
Executes GEOHASH NOTE:
members
CAN be empty (Redis accepts it) -
def
geohash(key: Key, members: Value*): Result[Seq[commons.Opt[GeoHash]]]
Executes GEOHASH
-
def
geopos(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoPoint]]]
Executes GEOPOS NOTE:
members
CAN be empty (Redis accepts it) -
def
geopos(key: Key, members: Value*): Result[Seq[commons.Opt[GeoPoint]]]
Executes GEOPOS
-
def
georadius[A <: GeoradiusAttrs](key: Key, point: GeoPoint, radius: Double, unit: GeoUnit, attributes: A = GeoradiusAttrs.None, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, readOnly: Boolean = false): Result[Seq[georadius.A.Attributed[Value]]]
Executes GEORADIUS
-
def
georadiusStore(key: Key, point: GeoPoint, radius: Double, unit: GeoUnit, storeKey: Key, storeDist: Boolean = false, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty): Result[commons.Opt[Long]]
Executes GEORADIUS
-
def
georadiusbymember[A <: GeoradiusAttrs](key: Key, member: Value, radius: Double, unit: GeoUnit, attributes: A = GeoradiusAttrs.None, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, readOnly: Boolean = false): Result[Seq[georadiusbymember.A.Attributed[Value]]]
Executes GEORADIUSBYMEMBER
-
def
georadiusbymemberStore(key: Key, member: Value, radius: Double, unit: GeoUnit, storeKey: Key, storeDist: Boolean = false, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty): Result[commons.Opt[Long]]
Executes GEORADIUSBYMEMBER