public abstract class JedisConverters extends Converters
Constructor and Description |
---|
JedisConverters() |
longToBoolean, stringToDataType, stringToProps, toBit, toBoolean, toDataType, toObjects, toProperties, toProperties, toTimeMillis
public static ListConverter<redis.clients.jedis.Tuple,RedisZSetCommands.Tuple> tuplesToTuples()
public static ListConverter<String,byte[]> stringListToByteList()
public static SetConverter<String,byte[]> stringSetToByteSet()
public static MapConverter<String,byte[]> stringMapToByteMap()
public static SetConverter<redis.clients.jedis.Tuple,RedisZSetCommands.Tuple> tupleSetToTupleSet()
public static Converter<Exception,DataAccessException> exceptionConverter()
public static String[] toStrings(byte[][] source)
public static Set<RedisZSetCommands.Tuple> toTupleSet(Set<redis.clients.jedis.Tuple> source)
public static byte[] toBytes(Integer source)
public static byte[] toBytes(Long source)
public static byte[] toBytes(String source)
public static String toString(byte[] source)
public static List<RedisClientInfo> toListOfRedisClientInformation(String source)
source
- public static List<RedisServer> toListOfRedisServer(List<Map<String,String>> source)
source
- public static DataAccessException toDataAccessException(Exception ex)
public static redis.clients.jedis.BinaryClient.LIST_POSITION toListPosition(RedisListCommands.Position source)
public static byte[][] toByteArrays(Map<byte[],byte[]> source)
public static redis.clients.jedis.SortingParams toSortingParams(SortParameters params)
public static redis.clients.jedis.BitOP toBitOp(RedisStringCommands.BitOperation bitOp)