@Override
    public CompletableFuture<Map<String, Class<?>>> loadFor(Dbms dbms) {
        final DbmsType dbmsType = dbmsTypeOf(dbmsHandler, dbms);
        final Set<TypeInfoMetaData> preSet = dbmsType.getDataTypes();

        return supplyAsync(() -> {
            final Map<String, Class<?>> sqlTypeMapping;

            try {
                sqlTypeMapping = !preSet.isEmpty()
                    ? readTypeMapFromSet(preSet)
                    : readTypeMapFromDB(dbms);
            } catch (final SQLException ex) {
                throw new SpeedmentException(
                    "Error loading type map from database.", ex
                );
            }

            return sqlTypeMapping;
        });
    }
Default implementation of the {@link SqlTypeMappingHelper} interface.

@author Emil Forslund
@since  3.1.10
runtime-parent/runtime-connector-parent/sqlite/src/main/java/com/speedment/runtime/connector/sqlite/internal/types/SqlTypeMappingHelperImpl.java