ZSearchAttribute

zio.temporal.ZSearchAttribute$
See theZSearchAttribute companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait Keyword extends Tag

Used to indicate that a type is encoded as Keyword attribute

Used to indicate that a type is encoded as Keyword attribute

Attributes

Supertypes
trait Tag
class Object
trait Matchable
class Any
sealed trait Plain extends Tag

Used to indicate that a type is encoded as a plain attribute

Used to indicate that a type is encoded as a plain attribute

Attributes

Supertypes
trait Tag
class Object
trait Matchable
class Any
sealed trait Tag

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Keyword
trait Plain

Types

type Of[A] = ZSearchAttribute { type ValueType = A; }

Value members

Concrete methods

def apply[A](value: A)(implicit meta: ZSearchAttributeMeta[A, Plain]): Of[A]

Converts a value to ZSearchAttribute having implicit ZSearchAttributeMeta instance

Converts a value to ZSearchAttribute having implicit ZSearchAttributeMeta instance

Value parameters

meta

conversion typeclass

value

attributes value to convert

Attributes

Returns

converted search attribute

def keyword[A](value: A)(implicit meta: ZSearchAttributeMeta[A, Keyword]): Of[A]

Explicitly sets attribute type to Keyword

Explicitly sets attribute type to Keyword

Value parameters

value

search attribute value

Attributes

def toJavaAttributeUpdates(attrs: Map[String, ZSearchAttribute]): List[SearchAttributeUpdate[_]]

Converts custom search attributes to a list of SearchAttributeUpdate that temporal Java SDK can consume

Converts custom search attributes to a list of SearchAttributeUpdate that temporal Java SDK can consume

Value parameters

attrs

attributes to convert

Attributes

Returns

attributes converted

def toJavaSearchAttributes(attrs: Map[String, ZSearchAttribute]): SearchAttributes

Converts custom search attributes to a list of SearchAttributes that temporal Java SDK can consume

Converts custom search attributes to a list of SearchAttributes that temporal Java SDK can consume

Value parameters

attrs

attributes to convert

Attributes

Returns

attributes converted