Class ZsetRedisRowDecoder
java.lang.Object
io.trino.plugin.redis.decoder.zset.ZsetRedisRowDecoder
- All Implemented Interfaces:
RowDecoder,RedisRowDecoder
The row decoder for the 'zset' format. Zset's can contain redis keys for tables
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ZsetRedisRowDecoder
public ZsetRedisRowDecoder()
-
-
Method Details
-
decodeRow
Description copied from interface:RedisRowDecoderDecodes a given map into field values.- Specified by:
decodeRowin interfaceRedisRowDecoder- Parameters:
dataMap- The row data as fields map- Returns:
- Returns mapping from column handle to decoded value. Unmapped columns will be reported as null. Optional.empty() signals decoding error.
-
decodeRow
- Specified by:
decodeRowin interfaceRowDecoder
-