public void addData() {
try {
Connector conn = mockInstance.getConnector("user1", "password");
BatchWriter writer = conn.createBatchWriter
(PEOPLE_TABLE, MAX_MEMORY, MAX_LATENCY, MAX_WRITE_THREADS);
Mutation m1 = new Mutation("row1");
m1.put(INFO_CF, NAME, new Value("brian".getBytes()));
m1.put(INFO_CF, AGE, new Value(ByteBuffer.wrap(new byte[4]).putInt(30).array()));
m1.put(INFO_CF, SIBLINGS, new Value(ByteBuffer.wrap(new byte[4]).putInt(3).array()));
m1.put(INFO_CF, LIFETIME_MILLS, new Value(ByteBuffer.wrap(new byte[8]).putLong(12345l).array()));
m1.put(INFO_CF, GPA, new Value(ByteBuffer.wrap(new byte[8]).putDouble(3.7d).array()));
m1.put(INFO_CF, HEIGHT, new Value("6ft".getBytes()));
m1.put(EVENTS_CF, EVENT1, new Value("".getBytes()));
m1.put(EVENTS_CF, EVENT2, new Value("".getBytes()));
Mutation m2 = new Mutation("row2");
m2.put(INFO_CF, NAME, new Value("adam".getBytes()));
m2.put(INFO_CF, AGE, new Value(ByteBuffer.wrap(new byte[4]).putInt(29).array()));
m2.put(INFO_CF, SIBLINGS, new Value(ByteBuffer.wrap(new byte[4]).putInt(6).array()));
m2.put(INFO_CF, LIFETIME_MILLS, new Value(ByteBuffer.wrap(new byte[8]).putLong(6789l).array()));
m2.put(INFO_CF, GPA, new Value(ByteBuffer.wrap(new byte[8]).putDouble(3.2d).array()));
m2.put(INFO_CF, HEIGHT, new Value("5ft7inch".getBytes()));
m2.put(EVENTS_CF, EVENT1, new Value("".getBytes()));
writer.addMutation(m1);
writer.addMutation(m2);
writer.close();