view src/jdbcpgbackup/DBOFactory.java @ 54:6bd33547304f

fix for www reindex
author Vadim Filimonov <fffilimonov@yandex.ru>
date Wed, 07 Jul 2021 11:36:27 +0300
parents 7ecd1a4ef557
children
line wrap: on
line source

/*	Copyright (c) 2012	Tomislav Gountchev <tomi@gountchev.net>	*/

package jdbcpgbackup;

import java.sql.Connection;
import java.sql.SQLException;

interface DBOFactory<T extends DbBackupObject> {

	Iterable<T> getDbBackupObjects(Connection con, Schema schema) throws SQLException;

	T getDbBackupObject(Connection con, String name, Schema schema) throws SQLException;

}