Interface TarantoolField

    • Method Detail

      • getValue

        <O> O getValue​(Class<O> targetClass,
                       MessagePackValueMapper mapper)
        Get the field value converted to the target type
        Type Parameters:
        O - the target type
        Parameters:
        targetClass - the target type class
        mapper - mapper for converting MessagePack entity to Java object
        Returns:
        value
      • getValue

        Object getValue​(MessagePackValueMapper mapper)
        Get the field value, possibly converted to some Java type
        Parameters:
        mapper - mapper for converting MessagePack entity to Java object
        Returns:
        value
      • canConvertValue

        boolean canConvertValue​(Class<?> targetClass,
                                MessagePackValueMapper mapper)
        Check whether the underlying field value can be converted to an object using the given MessagePack-to-object mapper
        Parameters:
        targetClass - the target type class
        mapper - mapper for converting MessagePack entity to Java object
        Returns:
        value