org.springframework.data.redis.connection.lettuce
Class LettuceConverters
java.lang.Object
org.springframework.data.redis.connection.convert.Converters
org.springframework.data.redis.connection.lettuce.LettuceConverters
public abstract class LettuceConverters
- extends Converters
Lettuce type converters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LettuceConverters
public LettuceConverters()
dateToLong
public static Converter<Date,Long> dateToLong()
bytesListToBytesSet
public static Converter<List<byte[]>,Set<byte[]>> bytesListToBytesSet()
keyValueToBytesList
public static Converter<com.lambdaworks.redis.KeyValue<byte[],byte[]>,List<byte[]>> keyValueToBytesList()
bytesSetToBytesList
public static Converter<Set<byte[]>,List<byte[]>> bytesSetToBytesList()
scoredValuesToTupleSet
public static Converter<List<com.lambdaworks.redis.ScoredValue<byte[]>>,Set<RedisZSetCommands.Tuple>> scoredValuesToTupleSet()
scoredValueToTuple
public static Converter<com.lambdaworks.redis.ScoredValue<byte[]>,RedisZSetCommands.Tuple> scoredValueToTuple()
exceptionConverter
public static Converter<Exception,DataAccessException> exceptionConverter()
toLong
public static Long toLong(Date source)
toBytesSet
public static Set<byte[]> toBytesSet(List<byte[]> source)
toBytesList
public static List<byte[]> toBytesList(com.lambdaworks.redis.KeyValue<byte[],byte[]> source)
toBytesList
public static List<byte[]> toBytesList(Set<byte[]> source)
toTupleSet
public static Set<RedisZSetCommands.Tuple> toTupleSet(List<com.lambdaworks.redis.ScoredValue<byte[]>> source)
toTuple
public static RedisZSetCommands.Tuple toTuple(com.lambdaworks.redis.ScoredValue<byte[]> source)
toDataAccessException
public static DataAccessException toDataAccessException(Exception ex)
toScriptOutputType
public static com.lambdaworks.redis.ScriptOutputType toScriptOutputType(ReturnType returnType)
toBoolean
public static boolean toBoolean(RedisListCommands.Position where)
toInt
public static int toInt(boolean value)
toSortArgs
public static com.lambdaworks.redis.SortArgs toSortArgs(SortParameters params)