(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
(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.
(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:
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(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
(search-attributes-> attrs)Converts search-attributes input to typed SearchAttributes.
Converts search-attributes input to typed SearchAttributes.
(search-attributes->map attrs)Converts typed SearchAttributes to {name {:type type :value value}}.
Converts typed SearchAttributes to {name {:type type :value value}}.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |