code: public void addEvent(FlowEvent event) throws IOException {
      Put p = createPutForEvent(event);
      Table eventTable = null;
      try {
        eventTable = hbaseConnection
            .getTable(TableName.valueOf(Constants.FLOW_EVENT_TABLE));
        eventTable.put(p);
      } finally {
        if (eventTable != null) {
          eventTable.close();
        }
      }
    }
docs: Stores a single flow event row
  @param event
  @throws IOException