org.springframework.data.keyvalue.redis.connection
Class DefaultStringTuple
java.lang.Object
org.springframework.data.keyvalue.redis.connection.DefaultTuple
org.springframework.data.keyvalue.redis.connection.DefaultStringTuple
- All Implemented Interfaces:
- RedisZSetCommands.Tuple, StringRedisConnection.StringTuple
public class DefaultStringTuple
- extends DefaultTuple
- implements StringRedisConnection.StringTuple
Default implementation for StringRedisConnection.StringTuple interface.
- Author:
- Costin Leau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStringTuple
public DefaultStringTuple(byte[] value,
String valueAsString,
Double score)
- Constructs a new
DefaultStringTuple instance.
- Parameters:
value - score -
DefaultStringTuple
public DefaultStringTuple(RedisZSetCommands.Tuple tuple,
String valueAsString)
- Constructs a new
DefaultStringTuple instance.
- Parameters:
tuple - valueAsString -
getValueAsString
public String getValueAsString()
- Specified by:
getValueAsString in interface StringRedisConnection.StringTuple
Copyright © 2010-2011 SpringSource. All Rights Reserved.