package com.alibaba.rocketmq.storm.model;

import java.util.Map;

public class HBaseData {

    private String table;

    private String columnFamily;

    private String rowKey;

    private Map<String, byte[]> data;

    public HBaseData() {
    }

    public HBaseData(String table, String columnFamily, String rowKey, Map<String, byte[]> data) {
        this.table = table;
        this.columnFamily = columnFamily;
        this.rowKey = rowKey;
        this.data = data;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getColumnFamily() {
        return columnFamily;
    }

    public void setColumnFamily(String columnFamily) {
        this.columnFamily = columnFamily;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    public Map<String, byte[]> getData() {
        return data;
    }

    public void setData(Map<String, byte[]> data) {
        this.data = data;
    }
}

@@ -466,24 +466,44 @@
 ata = data;%0A
+        toString();%0A
     %7D%0A%0A    p
@@ -1107,11 +1107,487 @@
 a;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        String datas = %22%5B=%5D%5B%22;%0A        for (Map.Entry entry:data.entrySet())%7B%0A            datas = datas + entry.getKey() + %22,%22 + entry.getValue() + %22%5D%22;%0A        %7D%0A        datas += %22%5D%5B=%5D%22;%0A        return %22HBaseData%7B%22 +%0A                %22table='%22 + table + '%5C'' +%0A                %22, columnFamily='%22 + columnFamily + '%5C'' +%0A                %22, rowKey='%22 + rowKey + '%5C'' +%0A                %22, data=%22 + datas +%0A                '%7D';%0A    %7D
 %0A%7D%0A

debug hbase base data.