Class GeoResultsDecoder

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

    public class GeoResultsDecoder
    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

      • GeoResultsDecoder

        public GeoResultsDecoder()
      • GeoResultsDecoder

        public GeoResultsDecoder​(org.springframework.data.geo.Metric metric)
    • 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[]>>>