public abstract class LettuceConverters extends Converters
Constructor and Description |
---|
LettuceConverters() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.core.convert.converter.Converter<List<byte[]>,Set<byte[]>> |
bytesListToBytesSet() |
static org.springframework.core.convert.converter.Converter<Set<byte[]>,List<byte[]>> |
bytesSetToBytesList() |
static org.springframework.core.convert.converter.Converter<byte[],String> |
bytesToString() |
static org.springframework.core.convert.converter.Converter<Date,Long> |
dateToLong() |
static org.springframework.core.convert.converter.Converter<Exception,org.springframework.dao.DataAccessException> |
exceptionConverter() |
static org.springframework.core.convert.converter.Converter<com.lambdaworks.redis.KeyValue<byte[],byte[]>,List<byte[]>> |
keyValueToBytesList() |
static org.springframework.core.convert.converter.Converter<Long,Boolean> |
longToBooleanConverter() |
static org.springframework.core.convert.converter.Converter<List<com.lambdaworks.redis.ScoredValue<byte[]>>,Set<RedisZSetCommands.Tuple>> |
scoredValuesToTupleSet() |
static org.springframework.core.convert.converter.Converter<com.lambdaworks.redis.ScoredValue<byte[]>,RedisZSetCommands.Tuple> |
scoredValueToTuple() |
static org.springframework.core.convert.converter.Converter<String,List<RedisClientInfo>> |
stringToRedisClientListConverter() |
static boolean |
toBoolean(RedisListCommands.Position where) |
static List<byte[]> |
toBytesList(com.lambdaworks.redis.KeyValue<byte[],byte[]> source) |
static List<byte[]> |
toBytesList(Set<byte[]> source) |
static Set<byte[]> |
toBytesSet(List<byte[]> source) |
static int |
toInt(boolean value) |
static List<RedisClientInfo> |
toListOfRedisClientInformation(String clientList) |
static Long |
toLong(Date source) |
static com.lambdaworks.redis.ScriptOutputType |
toScriptOutputType(ReturnType returnType) |
static com.lambdaworks.redis.SortArgs |
toSortArgs(SortParameters params) |
static String |
toString(byte[] source) |
static RedisZSetCommands.Tuple |
toTuple(com.lambdaworks.redis.ScoredValue<byte[]> source) |
static Set<RedisZSetCommands.Tuple> |
toTupleSet(List<com.lambdaworks.redis.ScoredValue<byte[]>> source) |
longToBoolean, stringToDataType, stringToProps, toBit, toBoolean, toDataType, toObjects, toProperties, toTimeMillis
public static org.springframework.core.convert.converter.Converter<String,List<RedisClientInfo>> stringToRedisClientListConverter()
public static org.springframework.core.convert.converter.Converter<Date,Long> dateToLong()
public static org.springframework.core.convert.converter.Converter<List<byte[]>,Set<byte[]>> bytesListToBytesSet()
public static org.springframework.core.convert.converter.Converter<byte[],String> bytesToString()
public static org.springframework.core.convert.converter.Converter<com.lambdaworks.redis.KeyValue<byte[],byte[]>,List<byte[]>> keyValueToBytesList()
public static org.springframework.core.convert.converter.Converter<Set<byte[]>,List<byte[]>> bytesSetToBytesList()
public static org.springframework.core.convert.converter.Converter<List<com.lambdaworks.redis.ScoredValue<byte[]>>,Set<RedisZSetCommands.Tuple>> scoredValuesToTupleSet()
public static org.springframework.core.convert.converter.Converter<com.lambdaworks.redis.ScoredValue<byte[]>,RedisZSetCommands.Tuple> scoredValueToTuple()
public static org.springframework.core.convert.converter.Converter<Exception,org.springframework.dao.DataAccessException> exceptionConverter()
public static org.springframework.core.convert.converter.Converter<Long,Boolean> longToBooleanConverter()
public static List<byte[]> toBytesList(com.lambdaworks.redis.KeyValue<byte[],byte[]> source)
public static Set<RedisZSetCommands.Tuple> toTupleSet(List<com.lambdaworks.redis.ScoredValue<byte[]>> source)
public static RedisZSetCommands.Tuple toTuple(com.lambdaworks.redis.ScoredValue<byte[]> source)
public static String toString(byte[] source)
public static com.lambdaworks.redis.ScriptOutputType toScriptOutputType(ReturnType returnType)
public static boolean toBoolean(RedisListCommands.Position where)
public static int toInt(boolean value)
public static com.lambdaworks.redis.SortArgs toSortArgs(SortParameters params)
public static List<RedisClientInfo> toListOfRedisClientInformation(String clientList)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.