Package io.lettuce.core.dynamic.output
Class OutputSelector
- java.lang.Object
-
- io.lettuce.core.dynamic.output.OutputSelector
-
public class OutputSelector extends Object
SelectorCommandOutputFactory
resolution.A
OutputSelector
is based on the resultResolvableType
andRedisCodec
. The codec supplies types for generics resolution ofCommandOutput
.- Since:
- 5.0
- Author:
- Mark Paluch
-
-
Constructor Summary
Constructors Constructor Description OutputSelector(ResolvableType outputType, RedisCodec<?,?> redisCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvableType
getOutputType()
RedisCodec<?,?>
getRedisCodec()
-
-
-
Constructor Detail
-
OutputSelector
public OutputSelector(ResolvableType outputType, RedisCodec<?,?> redisCodec)
- Parameters:
outputType
- must not benull
.redisCodec
- must not benull
.
-
-
Method Detail
-
getOutputType
public ResolvableType getOutputType()
- Returns:
- the output type.
-
getRedisCodec
public RedisCodec<?,?> getRedisCodec()
- Returns:
- the associated codec.
-
-