public void map()

in java/dataproc-wordcount/src/main/java/com/example/bigtable/sample/WordCountHBase.java [59:67]


    public void map(Object key, Text value, Context context) throws IOException,
        InterruptedException {
      StringTokenizer itr = new StringTokenizer(value.toString());
      ImmutableBytesWritable word = new ImmutableBytesWritable();
      while (itr.hasMoreTokens()) {
        word.set(Bytes.toBytes(itr.nextToken()));
        context.write(word, one);
      }
    }