Class GeoResultsDistanceDecoder

  • All Implemented Interfaces:
    org.redisson.client.protocol.decoder.MultiDecoder<org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>>>

    public class GeoResultsDistanceDecoder
    extends Object
    implements org.redisson.client.protocol.decoder.MultiDecoder<org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>>>
    Author:
    Nikita Koksharov
    • Constructor Detail

      • GeoResultsDistanceDecoder

        public GeoResultsDistanceDecoder()
    • Method Detail

      • getDecoder

        public org.redisson.client.protocol.Decoder<Object> getDecoder​(int paramNum,
                                                                       org.redisson.client.handler.State state)
        Specified by:
        getDecoder in interface org.redisson.client.protocol.decoder.MultiDecoder<org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>>>
      • decode

        public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> decode​(List<Object> parts,
                                                                                                                                              org.redisson.client.handler.State state)
        Specified by:
        decode in interface org.redisson.client.protocol.decoder.MultiDecoder<org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>>>