Mercurial Hosting > nabble
annotate 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 |
rev | line source |
---|---|
0 | 1 package jdbcpgbackup; |
2 | |
3 | |
4 public interface DataFilter { | |
5 public boolean dumpData(String schema,String tableName); | |
6 | |
7 public static final DataFilter ALL_DATA = new DataFilter() { | |
8 public boolean dumpData(String schema,String tableName) { | |
9 return true; | |
10 } | |
11 }; | |
12 | |
13 public static final DataFilter NO_DATA = new DataFilter() { | |
14 public boolean dumpData(String schema,String tableName) { | |
15 return false; | |
16 } | |
17 }; | |
18 } |