Class ByteStringConverter
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.ByteStringConverter
-
- All Implemented Interfaces:
PrimitiveConverter<Byte>
,StringConverter<Byte>
@ThreadSafe @Immutable public class ByteStringConverter extends Object implements StringConverter<Byte>, PrimitiveConverter<Byte>
A converter betweenBigInteger
andString
.This converts values using
Byte.toString()
andByte.valueOf(String)
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteStringConverter
create()
Byte
fromString(String string)
Convert the provided string into an object.EnhancedType<Byte>
primitiveType()
The type supported by this converter.EnhancedType<Byte>
type()
The type supported by this converter.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.enhanced.dynamodb.internal.converter.StringConverter
toString
-
-
-
-
Method Detail
-
create
public static ByteStringConverter create()
-
type
public EnhancedType<Byte> type()
Description copied from interface:StringConverter
The type supported by this converter.- Specified by:
type
in interfaceStringConverter<Byte>
-
primitiveType
public EnhancedType<Byte> primitiveType()
Description copied from interface:PrimitiveConverter
The type supported by this converter.- Specified by:
primitiveType
in interfacePrimitiveConverter<Byte>
-
fromString
public Byte fromString(String string)
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<Byte>
-
-