Class HashRedisRowDecoder
- java.lang.Object
-
- io.trino.plugin.redis.decoder.hash.HashRedisRowDecoder
-
- All Implemented Interfaces:
RowDecoder
public class HashRedisRowDecoder extends Object implements RowDecoder
The row decoder for the Redis values that are stored in Hash format.
-
-
Constructor Summary
Constructors Constructor Description HashRedisRowDecoder(Map<DecoderColumnHandle,RedisFieldDecoder<String>> fieldDecoders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Map<DecoderColumnHandle,FieldValueProvider>>decodeRow(byte[] data, Map<String,String> dataMap)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.decoder.RowDecoder
decodeRow
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HashRedisRowDecoder
public HashRedisRowDecoder(Map<DecoderColumnHandle,RedisFieldDecoder<String>> fieldDecoders)
-
-
Method Detail
-
decodeRow
public Optional<Map<DecoderColumnHandle,FieldValueProvider>> decodeRow(byte[] data, Map<String,String> dataMap)
- Specified by:
decodeRowin interfaceRowDecoder
-
-