Module lettuce.core
Package io.lettuce.core.dynamic.codec
Class AnnotationRedisCodecResolver.ParameterWrappers
java.lang.Object
io.lettuce.core.dynamic.codec.AnnotationRedisCodecResolver.ParameterWrappers
- Enclosing class:
- AnnotationRedisCodecResolver
protected static class AnnotationRedisCodecResolver.ParameterWrappers extends Object
Parameter wrapper support for types that encapsulate one or more parameter values.
-
Constructor Summary
Constructors Modifier Constructor Description protectedParameterWrappers() -
Method Summary
Modifier and Type Method Description static TypeInformation<?>getKeyType(TypeInformation<?> typeInformation)static TypeInformation<?>getValueType(TypeInformation<?> typeInformation)static booleanhasKeyType(TypeInformation<?> typeInformation)static booleanhasValueType(TypeInformation<?> typeInformation)static booleansupports(TypeInformation<?> typeInformation)
-
Constructor Details
-
ParameterWrappers
protected ParameterWrappers()
-
-
Method Details
-
supports
- Parameters:
typeInformation- must not benull.- Returns:
trueifparameterClassis a parameter wrapper.
-
hasKeyType
- Parameters:
typeInformation- must not benull.- Returns:
trueif the type has a key type variable.
-
hasValueType
- Parameters:
typeInformation- must not benull.- Returns:
trueif the type has a value type variable.
-
getKeyType
- Parameters:
typeInformation- must not benull.- Returns:
- the key type.
-
getValueType
- Parameters:
typeInformation- must not benull.- Returns:
- the value type.
-