Class 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 Detail

      • ParameterWrappers

        protected ParameterWrappers()
    • Method Detail

      • supports

        public static boolean supports​(TypeInformation<?> typeInformation)
        Parameters:
        typeInformation - must not be null.
        Returns:
        true if parameterClass is a parameter wrapper.
      • hasKeyType

        public static boolean hasKeyType​(TypeInformation<?> typeInformation)
        Parameters:
        typeInformation - must not be null.
        Returns:
        true if the type has a key type variable.
      • hasValueType

        public static boolean hasValueType​(TypeInformation<?> typeInformation)
        Parameters:
        typeInformation - must not be null.
        Returns:
        true if the type has a value type variable.
      • getKeyType

        public static TypeInformation<?> getKeyType​(TypeInformation<?> typeInformation)
        Parameters:
        typeInformation - must not be null.
        Returns:
        the key type.
      • getValueType

        public static TypeInformation<?> getValueType​(TypeInformation<?> typeInformation)
        Parameters:
        typeInformation - must not be null.
        Returns:
        the value type.