trait HashOperations[F[+_]] extends HashApi[F]
- Alphabetic
- By Inheritance
- HashOperations
- HashApi
- 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 HashOperations[F] toany2stringadd[HashOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (HashOperations[F], B)
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toArrowAssoc[HashOperations[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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (HashOperations[F]) => Boolean, msg: => Any): HashOperations[F]
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toEnsuring[HashOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (HashOperations[F]) => Boolean): HashOperations[F]
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toEnsuring[HashOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): HashOperations[F]
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toEnsuring[HashOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): HashOperations[F]
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toEnsuring[HashOperations[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 HashOperations[F] toStringFormat[HashOperations[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()
- def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): F[Resp[Option[Long]]]
- Definition Classes
- HashOperations → HashApi
- def hexists(key: Any, field: Any)(implicit format: Format): F[Resp[Boolean]]
- Definition Classes
- HashOperations → HashApi
- def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
- Definition Classes
- HashOperations → HashApi
- def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): F[Resp[Option[Map[K, V]]]]
- Definition Classes
- HashOperations → HashApi
- def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): F[Resp[Option[Map[K, V]]]]
- Definition Classes
- HashOperations → HashApi
- def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): F[Resp[Option[Long]]]
- Definition Classes
- HashOperations → HashApi
- def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): F[Resp[Option[Float]]]
- Definition Classes
- HashOperations → HashApi
- def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[A]]]]
- Definition Classes
- HashOperations → HashApi
- def hlen(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
- Definition Classes
- HashOperations → HashApi
- def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): F[Resp[Option[Map[K, V]]]]
- Definition Classes
- HashOperations → HashApi
- def hmset(key: Any, map: Iterable[Product2[Any, Any]])(implicit format: Format): F[Resp[Boolean]]
Sets the specified fields to their respective values in the hash stored at key.
Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.
- map
from fields to values
- returns
True
if operation completed successfully,False
otherwise.
- Definition Classes
- HashOperations → HashApi
- See also
- def hscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): F[Resp[Option[(Option[Int], Option[List[Option[A]]])]]]
Incrementally iterate hash fields and associated values (since 2.8)
Incrementally iterate hash fields and associated values (since 2.8)
- Definition Classes
- HashOperations → HashApi
- def hset1(key: Any, field: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
Sets
field
in the hash stored atkey
tovalue
.Sets
field
in the hash stored atkey
tovalue
. Ifkey
does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.- returns
Some(0)
iffield
is a new field in the hash and value was set,Some(1)
iffield
already exists in the hash and the value was updated.
- Definition Classes
- HashOperations → HashApi
- See also
- def hsetnx(key: Any, field: Any, value: Any)(implicit format: Format): F[Resp[Boolean]]
Sets
field
in the hash stored atkey
tovalue
, only if field does not yet exist.Sets
field
in the hash stored atkey
tovalue
, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.- returns
True
iffield
is a new field in the hash and value was set. False iffield
exists in the hash and no operation was performed.
- Definition Classes
- HashOperations → HashApi
- See also
- def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[A]]]]
- Definition Classes
- HashOperations → HashApi
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- 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 hset(key: Any, field: Any, value: Any)(implicit format: Format): F[Resp[Boolean]]
Sets
field
in the hash stored atkey
tovalue
.Sets
field
in the hash stored atkey
tovalue
. Ifkey
does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.- returns
True
iffield
is a new field in the hash and value was set,False
iffield
already exists in the hash and the value was updated.
- Definition Classes
- HashOperations → HashApi
- Deprecated
return value semantics is inconsistent with effredis.HashOperations#hsetnx and effredis.HashOperations#hmset. Use effredis.HashOperations#hset1 instead
- See also
- def →[B](y: B): (HashOperations[F], B)
- Implicit
- This member is added by an implicit conversion from HashOperations[F] toArrowAssoc[HashOperations[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.