java.lang.Object
io.lettuce.core.dynamic.output.OutputSelector
public class OutputSelector extends Object
Selector
CommandOutputFactory resolution.
A OutputSelector is based on the result ResolvableType and RedisCodec. The
codec supplies types for generics resolution of CommandOutput.
- Since:
- 5.0
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description OutputSelector(ResolvableType outputType, RedisCodec<?,?> redisCodec) -
Method Summary
Modifier and Type Method Description ResolvableTypegetOutputType()RedisCodec<?,?>getRedisCodec()
-
Constructor Details
-
OutputSelector
- Parameters:
outputType- must not benull.redisCodec- must not benull.
-
-
Method Details
-
getOutputType
- Returns:
- the output type.
-
getRedisCodec
- Returns:
- the associated codec.
-