Project

General

Profile

1
package eu.dnetlib.data.mapreduce.hbase;
2

    
3
public enum VolatileColumnFamily {
4

    
5
	dedup, dedupPerson; // instance is here to remove the old protos
6

    
7
	public static boolean isVolatile(final String columnName) {
8
		try {
9
			return VolatileColumnFamily.valueOf(columnName) != null;
10
		} catch (final Throwable e) {
11
			return false;
12
		}
13
	}
14
}
(2-2/2)