view src/jdbcpgbackup/DataFilter.java @ 3:1010f557927f

allow setting salt for backup file
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Mar 2019 18:38:18 -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;
		}
	};
}