Class DefaultStringTuple

java.lang.Object
org.springframework.data.redis.connection.zset.DefaultTuple
org.springframework.data.redis.connection.DefaultStringTuple
All Implemented Interfaces:
Comparable<Double>, StringRedisConnection.StringTuple, Tuple

public class DefaultStringTuple extends DefaultTuple implements StringRedisConnection.StringTuple
Default implementation for StringRedisConnection.StringTuple interface.
Author:
Costin Leau, Mark Paluch, Christoph Strobl
  • Constructor Details

    • DefaultStringTuple

      public DefaultStringTuple(byte[] value, String valueAsString, Double score)
      Constructs a new DefaultStringTuple instance.
      Parameters:
      value -
      score -
    • DefaultStringTuple

      public DefaultStringTuple(String valueAsString, double score)
      Constructs a new DefaultStringTuple instance.
      Parameters:
      valueAsString - must not be null.
      score -
      Since:
      2.6
    • DefaultStringTuple

      public DefaultStringTuple(Tuple tuple, String valueAsString)
      Constructs a new DefaultStringTuple instance.
      Parameters:
      tuple -
      valueAsString -
  • Method Details