Interface ValueConverter<T>

All Known Implementing Classes:
ComplexValueConverter, NumberConverter, SimpleValueConverter, StringConverter, UUIDConverter

public interface ValueConverter<T>
  • Method Details

    • toRawString

      @NotNull @NotNull String toRawString(@NotNull T value)
    • fromRawString

      @Nullable T fromRawString(@NotNull @NotNull String value)
    • toObjectMap

      @NotNull @NotNull Map<String,Object> toObjectMap(@NotNull T value)
    • fromObjectMap

      @Nullable T fromObjectMap(@NotNull @NotNull Map<String,Object> map)
    • getSqlColumns

      String[] getSqlColumns()
    • getSqlColumnDefinitions

      String[] getSqlColumnDefinitions()
    • toSqlValues

      Object[] toSqlValues(@NotNull T value)
    • fromSqlResultSet

      @Nullable T fromSqlResultSet(@NotNull @NotNull ResultSet resultSet) throws SQLException
      Throws:
      SQLException