Liking cljdoc? Tell your friends :D

temporal.internal.search-attributes


indexvalue-type->clj

source

infer-search-attributeclj

(infer-search-attribute attr-name value)
source

make-search-attribute-keyclj

(make-search-attribute-key name type)

Creates a SearchAttributeKey for the given name and type. Type can be :text, :keyword, :int, :double, :bool, :datetime, or :keyword-list

Creates a SearchAttributeKey for the given name and type.
Type can be :text, :keyword, :int, :double, :bool, :datetime, or :keyword-list
sourceraw docstring

make-search-attribute-updateclj

(make-search-attribute-update name type value)

Creates a SearchAttributeUpdate for setting or unsetting a value. If value is nil, creates an unset update. Otherwise creates a valueSet update.

Creates a SearchAttributeUpdate for setting or unsetting a value.
If value is nil, creates an unset update. Otherwise creates a valueSet update.
sourceraw docstring

normalize-search-attributesclj

(normalize-search-attributes attrs)

Normalizes :search-attributes input into typed maps.

Accepts both simple values and typed maps, returning: {"Name" {:type t :value v}}

Inference rules for simple values:

  • string -> :text
  • keyword/symbol -> :keyword
  • integer -> :int
  • number -> :double
  • boolean -> :bool
  • OffsetDateTime -> :datetime
  • sequence of string/keyword/symbol -> :keyword-list
Normalizes :search-attributes input into typed maps.

Accepts both simple values and typed maps, returning:
{"Name" {:type t :value v}}

Inference rules for simple values:
- string -> :text
- keyword/symbol -> :keyword
- integer -> :int
- number -> :double
- boolean -> :bool
- OffsetDateTime -> :datetime
- sequence of string/keyword/symbol -> :keyword-list
sourceraw docstring

search-attribute-updates->clj

(search-attribute-updates-> attrs)

Converts a map of {name {:type type :value value}} to an array of SearchAttributeUpdate objects

Converts a map of {name {:type type :value value}} to an array of SearchAttributeUpdate objects
sourceraw docstring

search-attributes->clj

(search-attributes-> attrs)

Converts search-attributes input to typed SearchAttributes.

Converts search-attributes input to typed SearchAttributes.
sourceraw docstring

search-attributes->mapclj

(search-attributes->map attrs)

Converts typed SearchAttributes to {name {:type type :value value}}.

Converts typed SearchAttributes to {name {:type type :value value}}.
sourceraw docstring

typed-search-attribute?clj

(typed-search-attribute? value)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close