Package io.iworkflow.core.persistence
Class SearchAttributeDef
java.lang.Object
io.iworkflow.core.persistence.SearchAttributeDef
- All Implemented Interfaces:
PersistenceFieldDef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchAttributeDefcreate(SearchAttributeValueType attributeType, String key) The search attribute types are all from Cadence/Temporal See doc https://cadenceworkflow.io/docs/concepts/search-workflows/ and https://docs.temporal.io/concepts/what-is-a-search-attribute/ to understand how to register new search attributes and run query NOTE that KEYWORD_ARRAY should be registered as KEYWORD in Cadence/Temporal.abstract SearchAttributeValueTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.iworkflow.core.persistence.PersistenceFieldDef
getKey
-
Constructor Details
-
SearchAttributeDef
public SearchAttributeDef()
-
-
Method Details
-
getSearchAttributeType
-
create
The search attribute types are all from Cadence/Temporal See doc https://cadenceworkflow.io/docs/concepts/search-workflows/ and https://docs.temporal.io/concepts/what-is-a-search-attribute/ to understand how to register new search attributes and run query NOTE that KEYWORD_ARRAY should be registered as KEYWORD in Cadence/Temporal. Cadence/Temporal use it interchangably. But in IWF, we like things to be explicit.- Parameters:
attributeType- the typekey- the key- Returns:
- the definition
-