trait ListOperations[F[+_]] extends ListApi[F]
- Alphabetic
- By Inheritance
- ListOperations
- ListApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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 ListOperations[F] toany2stringadd[ListOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ListOperations[F], B)
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toArrowAssoc[ListOperations[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 blpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): F[Resp[Option[(K, V)]]]
- Definition Classes
- ListOperations → ListApi
- def brpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): F[Resp[Option[(K, V)]]]
- Definition Classes
- ListOperations → ListApi
- def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
- Definition Classes
- ListOperations → ListApi
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (ListOperations[F]) => Boolean, msg: => Any): ListOperations[F]
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toEnsuring[ListOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ListOperations[F]) => Boolean): ListOperations[F]
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toEnsuring[ListOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ListOperations[F]
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toEnsuring[ListOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ListOperations[F]
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toEnsuring[ListOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toStringFormat[ListOperations[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- 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
- def lindex[A](key: Any, index: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
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.
- Definition Classes
- ListOperations → ListApi
- def llen(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
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.
- Definition Classes
- ListOperations → ListApi
- def lpop[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
atomically return and remove the first (LPOP) or last (RPOP) element of the list
atomically return and remove the first (LPOP) or last (RPOP) element of the list
- Definition Classes
- ListOperations → ListApi
- def lpush(key: Any, value: Any, values: Any*)(implicit format: Format): F[Resp[Option[Long]]]
add values to the head of the list stored at key (Variadic: >= 2.4)
add values to the head of the list stored at key (Variadic: >= 2.4)
- Definition Classes
- ListOperations → ListApi
- def lpushx(key: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
add value to the head of the list stored at key (Variadic: >= 2.4)
add value to the head of the list stored at key (Variadic: >= 2.4)
- Definition Classes
- ListOperations → ListApi
- def lrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
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.
- Definition Classes
- ListOperations → ListApi
- def lrem(key: Any, count: Int, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
Remove the first count occurrences of the value element from the list.
Remove the first count occurrences of the value element from the list.
- Definition Classes
- ListOperations → ListApi
- def lset(key: Any, index: Int, value: Any)(implicit format: Format): F[Resp[Boolean]]
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
- Definition Classes
- ListOperations → ListApi
- def ltrim(key: Any, start: Int, end: Int)(implicit format: Format): F[Resp[Boolean]]
Trim an existing list so that it will contain only the specified range of elements specified.
Trim an existing list so that it will contain only the specified range of elements specified.
- Definition Classes
- ListOperations → ListApi
- 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()
- def rpop[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
atomically return and remove the first (LPOP) or last (RPOP) element of the list
atomically return and remove the first (LPOP) or last (RPOP) element of the list
- Definition Classes
- ListOperations → ListApi
- def rpoplpush[A](srcKey: Any, dstKey: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
Remove the first count occurrences of the value element from the list.
Remove the first count occurrences of the value element from the list.
- Definition Classes
- ListOperations → ListApi
- def rpush(key: Any, value: Any, values: Any*)(implicit format: Format): F[Resp[Option[Long]]]
add values to the tail of the list stored at key (Variadic: >= 2.4)
add values to the tail of the list stored at key (Variadic: >= 2.4)
- Definition Classes
- ListOperations → ListApi
- def rpushx(key: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
add value to the tail of the list stored at key (Variadic: >= 2.4)
add value to the tail of the list stored at key (Variadic: >= 2.4)
- Definition Classes
- ListOperations → ListApi
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (ListOperations[F], B)
- Implicit
- This member is added by an implicit conversion from ListOperations[F] toArrowAssoc[ListOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.