@Override
public void deserialize(ByteBuffer data) throws Exception {
ByteArrayInputStream in = new ByteArrayInputStream(data.array());
TIOStreamTransport transport = new TIOStreamTransport(in);
batch_mutate_args args = new batch_mutate_args();
try {
TBinaryProtocol bp = new TBinaryProtocol(transport);
bp.setReadLength(data.remaining());
args.read(bp);
mutationMap = args.getMutation_map();
}
catch (TException e) {
throw ThriftConverter.ToConnectionPoolException(e);
}
}