Class OptionalLongStringConverter
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.OptionalLongStringConverter
- All Implemented Interfaces:
StringConverter<OptionalLong>
@ThreadSafe
@Immutable
public class OptionalLongStringConverter
extends Object
implements StringConverter<OptionalLong>
A converter between
OptionalLong
and String
.-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionalLongStringConverter
create()
fromString
(String string) Convert the provided string into an object.toString
(OptionalLong object) Convert the provided object into a string.type()
The type supported by this converter.
-
Method Details
-
create
-
type
Description copied from interface:StringConverter
The type supported by this converter.- Specified by:
type
in interfaceStringConverter<OptionalLong>
-
toString
Description copied from interface:StringConverter
Convert the provided object into a string.- Specified by:
toString
in interfaceStringConverter<OptionalLong>
-
fromString
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<OptionalLong>
-