Class DefaultStringValueToCharacterConverter
- java.lang.Object
-
- io.tarantool.driver.mappers.converters.value.DefaultStringValueToCharacterConverter
-
- All Implemented Interfaces:
Converter,ValueConverter<org.msgpack.value.StringValue,Character>,Serializable
public class DefaultStringValueToCharacterConverter extends Object implements ValueConverter<org.msgpack.value.StringValue,Character>
DefaultStringValuetoCharacterconverter- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultStringValueToCharacterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvertValue(org.msgpack.value.StringValue value)Optional method for determining if this specific entity can be converted to the specified object type.CharacterfromValue(org.msgpack.value.StringValue value)Convert MessagePack entity to a Java object
-
-
-
Method Detail
-
fromValue
public Character fromValue(org.msgpack.value.StringValue value)
Description copied from interface:ValueConverterConvert MessagePack entity to a Java object- Specified by:
fromValuein interfaceValueConverter<org.msgpack.value.StringValue,Character>- Parameters:
value- entity- Returns:
- object
-
canConvertValue
public boolean canConvertValue(org.msgpack.value.StringValue value)
Description copied from interface:ValueConverterOptional method for determining if this specific entity can be converted to the specified object type.- Specified by:
canConvertValuein interfaceValueConverter<org.msgpack.value.StringValue,Character>- Parameters:
value- MessagePack entity to be converted- Returns:
- true, if the entity csn be converted
-
-