nhl / link-move

A model-driven dynamically-configurable framework to acquire data from external sources and save it to your database.
Apache License 2.0
35 stars 15 forks source link

Refactoring JdbcNormalizer to ValueConverter #135

Closed andrus closed 7 years ago

andrus commented 7 years ago

A few improvements/changes to JdbcNormalizer API:

public interface ValueConverter {

    default Object convert(Object value) {
        return convert(value, -1);
    }

    Object convert(Object value, int scale);
}