protected static class AnnotationRedisCodecResolver.ParameterWrappers extends Object
Modifier | Constructor and Description |
---|---|
protected |
ParameterWrappers() |
Modifier and Type | Method and Description |
---|---|
static TypeInformation<?> |
getKeyType(TypeInformation<?> typeInformation) |
static TypeInformation<?> |
getValueType(TypeInformation<?> typeInformation) |
static boolean |
hasKeyType(TypeInformation<?> typeInformation) |
static boolean |
hasValueType(TypeInformation<?> typeInformation) |
static boolean |
supports(TypeInformation<?> typeInformation) |
public static boolean supports(TypeInformation<?> typeInformation)
typeInformation
- must not be null
.true
if parameterClass
is a parameter wrapper.public static boolean hasKeyType(TypeInformation<?> typeInformation)
typeInformation
- must not be null
.true
if the type has a key type variable.public static boolean hasValueType(TypeInformation<?> typeInformation)
typeInformation
- must not be null
.true
if the type has a value type variable.public static TypeInformation<?> getKeyType(TypeInformation<?> typeInformation)
typeInformation
- must not be null
.public static TypeInformation<?> getValueType(TypeInformation<?> typeInformation)
typeInformation
- must not be null
.Copyright © 2023 lettuce.io. All rights reserved.