Package io.trino.plugin.redis.decoder
Interface RedisRowDecoder
- All Superinterfaces:
RowDecoder
- All Known Implementing Classes:
HashRedisRowDecoder,ZsetRedisRowDecoder
Implementations decode a row from map and add field value providers for all decodable columns.
-
Method Summary
Modifier and TypeMethodDescriptionDecodes a given map into field values.Methods inherited from interface io.trino.decoder.RowDecoder
decodeRow
-
Method Details
-
decodeRow
Optional<Map<DecoderColumnHandle,FieldValueProvider>> decodeRow(@Nullable Map<String, String> dataMap) Decodes a given map into field values.- 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.
-