Trait

com.avsystem.commons.redis.commands

GeoApi

Related Doc: package commands

Permalink

trait GeoApi extends ApiSubset

Linear Supertypes
ApiSubset, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoApi
  2. ApiSubset
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type HashKey

    Permalink

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    Definition Classes
    ApiSubset
  2. abstract type Key

    Permalink

    The type of Redis keys or key patterns used in methods representing Redis commands.

    The type of Redis keys or key patterns used in methods representing Redis commands. For example, if Key = String then get returns Result[Opt[String]]. This type is used only for toplevel Redis keys, hash keys have their own type, HashKey.

    Definition Classes
    ApiSubset
  3. abstract type Result[A]

    Permalink

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    ApiSubset
  4. abstract type Value

    Permalink

    The type of Redis values used in methods representing Redis commands.

    The type of Redis values used in methods representing Redis commands. "Value" is the data that might be stored directly under a Redis key (e.g. using set) but also a value of hash field, list element, set member, sorted set member, geo set member or element inserted into hyper-log-log structure. There are no separate types specified for every of those use cases because only one of them can be used in a single command (for example, there is no Redis command that works on both list elements and set members at the same time).

    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]

    Permalink
    Definition Classes
    ApiSubset
  2. implicit abstract def hashKeyCodec: RedisDataCodec[HashKey]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  3. implicit abstract def keyCodec: RedisDataCodec[Key]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  4. implicit abstract def valueCodec: RedisDataCodec[Value]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def geoadd(key: Key, items: Iterable[(Value, GeoPoint)]): Result[Int]

    Permalink

    Executes GEOADD or simply returns 0 when items is empty, without sending the command Redis

  10. def geoadd(key: Key, item: (Value, GeoPoint), items: (Value, GeoPoint)*): Result[Int]

    Permalink

    Executes GEOADD

  11. def geoadd(key: Key, member: Value, point: GeoPoint): Result[Boolean]

    Permalink

    Executes GEOADD

  12. def geodist(key: Key, member1: Value, member2: Value, unit: GeoUnit = GeoUnit.M): Result[commons.Opt[Double]]

    Permalink

    Executes GEODIST

  13. def geohash(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoHash]]]

    Permalink

    Executes GEOHASH NOTE: members CAN be empty (Redis accepts it)

  14. def geohash(key: Key, members: Value*): Result[Seq[commons.Opt[GeoHash]]]

    Permalink

    Executes GEOHASH

  15. def geopos(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoPoint]]]

    Permalink

    Executes GEOPOS NOTE: members CAN be empty (Redis accepts it)

  16. def geopos(key: Key, members: Value*): Result[Seq[commons.Opt[GeoPoint]]]

    Permalink

    Executes GEOPOS

  17. 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): Result[Seq[georadius.A.Attributed[Value]]]

    Permalink

    Executes GEORADIUS

  18. 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]]

    Permalink

    Executes GEORADIUS

  19. 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): Result[Seq[georadiusbymember.A.Attributed[Value]]]

    Permalink

    Executes GEORADIUSBYMEMBER

  20. 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]]

    Permalink

    Executes GEORADIUSBYMEMBER

  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. implicit def headOps[T](head: T): HeadOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  26. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped