Class JedisScriptReturnConverter

java.lang.Object
org.springframework.data.redis.connection.jedis.JedisScriptReturnConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<Object,Object>

public class JedisScriptReturnConverter extends Object implements org.springframework.core.convert.converter.Converter<Object,Object>
Converts the value returned by Jedis script eval to the expected ReturnType
Author:
Jennifer Hickey
  • Constructor Details

    • JedisScriptReturnConverter

      public JedisScriptReturnConverter(ReturnType returnType)
  • Method Details

    • convert

      public Object convert(@Nullable Object result)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<Object,Object>