Class SearchAttributesUtil

java.lang.Object
io.temporal.internal.common.SearchAttributesUtil

public class SearchAttributesUtil extends Object
  • Constructor Details

    • SearchAttributesUtil

      public SearchAttributesUtil()
  • Method Details

    • encodeTyped

      @Nullable public static io.temporal.api.common.v1.SearchAttributes encodeTyped(@Nullable SearchAttributes searchAttributes)
    • decodeTyped

      @Nonnull public static SearchAttributes decodeTyped(@Nullable io.temporal.api.common.v1.SearchAttributes searchAttributes)
    • encodeTypedUpdates

      @Nonnull public static io.temporal.api.common.v1.SearchAttributes encodeTypedUpdates(SearchAttributeUpdate<?>... searchAttributeUpdates)
    • encode

      @Nonnull public static io.temporal.api.common.v1.SearchAttributes encode(@Nonnull Map<String,?> searchAttributes)
    • decode

      @Nonnull public static Map<String,List<?>> decode(@Nonnull io.temporal.api.common.v1.SearchAttributes searchAttributes)
    • decode

      @Nullable public static <T> List<T> decode(@Nonnull io.temporal.api.common.v1.SearchAttributes searchAttributes, @Nonnull String attributeName)
    • decode

      @Nullable public static List<?> decode(io.temporal.api.common.v1.Payload payload)
    • decodeAsType

      @Nullable public static <T> List<T> decodeAsType(@Nonnull io.temporal.api.common.v1.SearchAttributes searchAttributes, @Nonnull String attributeName, @Nonnull io.temporal.api.enums.v1.IndexedValueType indexType)