private int printMutation(Text table, Mutation m) {
      if(LOG.isTraceEnabled()) {
        LOG.trace("Table {} row key: {}", table, this.hexDump(m.getRow()));
        Iterator itr = m.getUpdates().iterator();

        while(itr.hasNext()) {
          ColumnUpdate cu = (ColumnUpdate)itr.next();
          LOG.trace("Table {} column: {}:{}",
              table, this.hexDump(cu.getColumnFamily()), this.hexDump(cu.getColumnQualifier()));
          LOG.trace("Table {} security: {}", table, new ColumnVisibility(cu.getColumnVisibility()).toString());
          LOG.trace("Table {} value: {}", table, this.hexDump(cu.getValue()));
        }
      }

      return m.getUpdates().size();
    }
Extension of AccumuloOutputFormat to support indexing.
accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java