static Mutation toStartSessionMutation(ByteBuffer sessionId, Map<String, String> parameters, String request, long startedAt)
{
Mutation mutation = new Mutation(NAME, sessionId);
ColumnFamily cells = mutation.addOrGet(TraceKeyspace.SessionsTable);
CFRowAdder adder = new CFRowAdder(cells, cells.metadata().comparator.builder().build(), FBUtilities.timestampMicros());
adder.add("coordinator", FBUtilities.getBroadcastAddress());
for (Map.Entry<String, String> entry : parameters.entrySet())
adder.addMapEntry("parameters", entry.getKey(), entry.getValue());
adder.add("request", request);
adder.add("started_at", new Date(startedAt));