Trait

com.redis.api

ListApi

Related Doc: package api

Permalink

trait ListApi extends AnyRef

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

Abstract Value Members

  1. abstract def blpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
  2. abstract def brpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
  3. abstract def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
  4. abstract def lindex[A](key: Any, index: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    return the especified element of the list stored at the specified key.

    return the especified element of the list stored at the specified key. Negative indexes are supported, for example -1 is the last element, -2 the penultimate and so on.

  5. abstract def llen(key: Any)(implicit format: Format): Option[Long]

    Permalink

    return the length of the list stored at the specified key.

    return the length of the list stored at the specified key. If the key does not exist zero is returned (the same behaviour as for empty lists). If the value stored at key is not a list an error is returned.

  6. abstract def lpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

  7. abstract def lpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    add values to the head of the list stored at key (Variadic: >= 2.4)

  8. abstract def lpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    add value to the head of the list stored at key (Variadic: >= 2.4)

  9. abstract def lrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    return the specified elements of the list stored at the specified key.

    return the specified elements of the list stored at the specified key. Start and end are zero-based indexes.

  10. abstract def lrem(key: Any, count: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink

    Remove the first count occurrences of the value element from the list.

  11. abstract def lset(key: Any, index: Int, value: Any)(implicit format: Format): Boolean

    Permalink

    set the list element at index with the new value.

    set the list element at index with the new value. Out of range indexes will generate an error

  12. abstract def ltrim(key: Any, start: Int, end: Int)(implicit format: Format): Boolean

    Permalink

    Trim an existing list so that it will contain only the specified range of elements specified.

  13. abstract def rpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

  14. abstract def rpoplpush[A](srcKey: Any, dstKey: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Remove the first count occurrences of the value element from the list.

  15. abstract def rpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    add values to the tail of the list stored at key (Variadic: >= 2.4)

  16. abstract def rpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    add value to the tail of the list stored at key (Variadic: >= 2.4)

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. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped