| Package | Description |
|---|---|
| io.lettuce.core.dynamic.codec |
RedisCodec resolution support. |
| io.lettuce.core.dynamic.output |
CommandOutput resolution support. |
| io.lettuce.core.dynamic.parameter |
Parameter access and descriptors.
|
| io.lettuce.core.dynamic.support |
Support classes imported from the Spring Framework.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeInformation<?> |
AnnotationRedisCodecResolver.ParameterWrappers.getKeyType(TypeInformation<?> typeInformation) |
static TypeInformation<?> |
AnnotationRedisCodecResolver.ParameterWrappers.getValueType(TypeInformation<?> typeInformation) |
| Modifier and Type | Method and Description |
|---|---|
static TypeInformation<?> |
AnnotationRedisCodecResolver.ParameterWrappers.getKeyType(TypeInformation<?> typeInformation) |
static TypeInformation<?> |
AnnotationRedisCodecResolver.ParameterWrappers.getValueType(TypeInformation<?> typeInformation) |
static boolean |
AnnotationRedisCodecResolver.ParameterWrappers.hasKeyType(TypeInformation<?> typeInformation) |
static boolean |
AnnotationRedisCodecResolver.ParameterWrappers.hasValueType(TypeInformation<?> typeInformation) |
static boolean |
AnnotationRedisCodecResolver.ParameterWrappers.supports(TypeInformation<?> typeInformation) |
| Modifier and Type | Method and Description |
|---|---|
TypeInformation<?> |
OutputType.getTypeInformation() |
| Modifier and Type | Method and Description |
|---|---|
TypeInformation<?> |
Parameter.getTypeInformation() |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassTypeInformation<S>
TypeInformation for a plain Class. |
class |
TypeVariableTypeInformation<T>
Special
TypeDiscoverer to determine the actual type for a TypeVariable. |
| Modifier and Type | Method and Description |
|---|---|
static <S> TypeInformation<S> |
ClassTypeInformation.fromMethodParameter(Method method,
int index)
Creates a
TypeInformation from the given method's parameter type. |
static <S> TypeInformation<S> |
ClassTypeInformation.fromReturnTypeOf(Method method)
Creates a
TypeInformation from the given method's return type. |
TypeInformation<?> |
TypeInformation.getActualType()
Transparently returns the
Map value type if the type is a Map, returns the component
type if the type isCollectionLike() or the simple type if none of this applies. |
TypeInformation<?> |
TypeInformation.getComponentType()
Returns the component type for
Collections or the key type for Maps. |
TypeInformation<?> |
TypeInformation.getMapValueType()
Will return the type of the value in case the underlying type is a
Map. |
TypeInformation<?> |
TypeInformation.getReturnType(Method method)
Returns a
TypeInformation for the return type of the given Method. |
TypeInformation<?> |
TypeInformation.getSuperTypeInformation(Class<?> superType)
Returns the
TypeInformation for the given raw super type. |
| Modifier and Type | Method and Description |
|---|---|
List<TypeInformation<?>> |
TypeInformation.getParameterTypes(Constructor<?> constructor)
Returns the
TypeInformations for the parameters of the given Constructor. |
List<TypeInformation<?>> |
TypeInformation.getParameterTypes(Method method)
Returns the
TypeInformations for the parameters of the given Method. |
List<TypeInformation<?>> |
TypeInformation.getTypeArguments()
Returns the
TypeInformation for the type arguments of the current TypeInformation. |
List<TypeInformation<?>> |
TypeVariableTypeInformation.getTypeArguments() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeInformation.isAssignableFrom(TypeInformation<?> target)
Returns if the current
TypeInformation can be safely assigned to the given one. |
boolean |
ClassTypeInformation.isAssignableFrom(TypeInformation<?> target) |
Copyright © 2019 lettuce.io. All rights reserved.