Package io.trino.plugin.redis
Interface RedisFieldDecoder<T>
-
- All Known Implementing Classes:
HashRedisFieldDecoder
public interface RedisFieldDecoder<T>Format specific field decoder description.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldValueProviderdecode(T value, DecoderColumnHandle columnHandle)Decode a value for the given column handle.
-
-
-
Method Detail
-
decode
FieldValueProvider decode(T value, DecoderColumnHandle columnHandle)
Decode a value for the given column handle.- Parameters:
value- The raw value as generated by the row decoder.columnHandle- The column for which the value is decoded.- Returns:
- A
FieldValueProviderinstance which returns a captured value for this specific column.
-
-