view src/jdbcpgbackup/DataFilter.java @ 37:40e282462f2e

fixed password instead of whitelist
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 08 Jul 2020 21:05:15 -0600
parents 7ecd1a4ef557
children
line wrap: on
line source

package jdbcpgbackup;


public interface DataFilter {
	public boolean dumpData(String schema,String tableName);

	public static final DataFilter ALL_DATA = new DataFilter() {
		public boolean dumpData(String schema,String tableName) {
			return true;
		}
	};

	public static final DataFilter NO_DATA = new DataFilter() {
		public boolean dumpData(String schema,String tableName) {
			return false;
		}
	};
}