mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 01:06:03 +10:00
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@1260 84d0f5b1-2673-498c-a247-62c4ff18d310
19 lines
463 B
Java
19 lines
463 B
Java
package com.nhn.hippo.web.mapper;
|
|
|
|
import org.apache.hadoop.hbase.client.Result;
|
|
import org.apache.hadoop.hbase.util.Bytes;
|
|
import org.springframework.data.hadoop.hbase.RowMapper;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
@Component
|
|
public class ApplicationNameMapper implements RowMapper<String> {
|
|
|
|
@Override
|
|
public String mapRow(Result result, int rowNum) throws Exception {
|
|
return Bytes.toString(result.getRow());
|
|
}
|
|
}
|