/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static DataSource<PreparedStatement, Row> fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static MysqlDataSource fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }
/** * Creates the data source based on a properties file. See * `Config.fromPropertiesFile` for more details. * * @param prefix * the configuration prefix * @param fileName * the properties file path * @return the data source instance * @throws IOException * if the file can't read */ public static PostgresDataSource fromPropertiesFile(final String prefix, final String fileName) throws IOException { return create(io.trane.ndbc.DataSource.fromPropertiesFile(prefix, fileName)); }