Mercurial Hosting > nabble
diff src/jdbcpgbackup/DataFilter.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/jdbcpgbackup/DataFilter.java Thu Mar 21 19:15:52 2019 -0600 @@ -0,0 +1,18 @@ +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; + } + }; +}