class BulkIngestKey implements WritableComparable<BulkIngestKey> {

    @Override
    public void write(DataOutput out) throws IOException {
        writeText(out, tableName);
        // reuse a text object for writing
        Text t = new Text();
        writeText(out, key.getRow(t));
        writeText(out, key.getColumnFamily(t));
        writeText(out, key.getColumnQualifier(t));
        writeText(out, key.getColumnVisibility(t));
        
        WritableUtils.writeVLong(out, key.getTimestamp());
        out.writeBoolean(key.isDeleted());
    }

    public  BulkIngestKey();
    public  BulkIngestKey(Text tableName, Key key);

}