Project

General

Profile

1
package eu.dnetlib.rmi.data.hadoop.hbase.schema;
2

    
3
import com.google.gson.Gson;
4

    
5
/**
6
 * Created by claudio on 11/11/15.
7
 */
8
public class HBaseTableRegionInfo {
9

    
10
	private String startKey;
11
	private String endKey;
12

    
13
	public HBaseTableRegionInfo() {
14
	}
15

    
16
	public HBaseTableRegionInfo(final String startKey, final String endKey) {
17
		this.startKey = startKey;
18
		this.endKey = endKey;
19
	}
20

    
21
	public String getStartKey() {
22
		return startKey;
23
	}
24

    
25
	public void setStartKey(final String startKey) {
26
		this.startKey = startKey;
27
	}
28

    
29
	public String getEndKey() {
30
		return endKey;
31
	}
32

    
33
	public void setEndKey(final String endKey) {
34
		this.endKey = endKey;
35
	}
36

    
37
	@Override
38
	public String toString() {
39
		return new Gson().toJson(this);
40
	}
41
}
(2-2/2)