view src/jdbcpgbackup/DataFilter.java @ 17:c9bbcebcf359

minor fix
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 09 Jan 2020 11:28:37 +0300
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;
		}
	};
}