Class ComplexValueConverter<T>
java.lang.Object
me.hsgamer.topper.storage.simple.converter.ComplexValueConverter<T>
- All Implemented Interfaces:
ValueConverter<T>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ComplexValueConverter.Builder
<T> builder()
fromObjectMap
(@NotNull Map<String, Object> map) fromRawString
(@NotNull String value) fromSqlResultSet
(@NotNull ResultSet resultSet) String[]
String[]
toObjectMap
(T value) @NotNull String
toRawString
(T value) Object[]
toSqlValues
(T value)
-
Method Details
-
builder
-
toRawString
- Specified by:
toRawString
in interfaceValueConverter<T>
-
fromRawString
- Specified by:
fromRawString
in interfaceValueConverter<T>
-
toObjectMap
- Specified by:
toObjectMap
in interfaceValueConverter<T>
-
fromObjectMap
- Specified by:
fromObjectMap
in interfaceValueConverter<T>
-
getSqlColumns
- Specified by:
getSqlColumns
in interfaceValueConverter<T>
-
getSqlColumnDefinitions
- Specified by:
getSqlColumnDefinitions
in interfaceValueConverter<T>
-
toSqlValues
- Specified by:
toSqlValues
in interfaceValueConverter<T>
-
fromSqlResultSet
- Specified by:
fromSqlResultSet
in interfaceValueConverter<T>
- Throws:
SQLException
-