static <ENTITY> SqlStreamOptimizerInfo<ENTITY> of(
        final DbmsType dbmsType,
        final String sqlSelect,
        final String sqlSelectCount,
        final ToLongBiFunction<String, List<Object>> counter,
        final Function<Field<ENTITY>, String> sqlColumnNamer,
        final Function<Field<ENTITY>, Class<?>> sqlDatabaseTypeFunction
    ) {
        return new SqlStreamOptimizerInfoImpl<>(
            dbmsType,
            sqlSelect,
            sqlSelectCount,
            counter,
            sqlColumnNamer,
            sqlDatabaseTypeFunction
        );
    }
Returns a Function that will map a Field to a column class type.

@return a Function that will map a Field to a column class type
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/component/sql/SqlStreamOptimizerInfo.java