从scanner获取rowkey:
for(Result rr : scanner)
{
String key =Bytes.toString(rr.getRow())
}
getRow()
Method for retrieving the row key that corresponds to the row from which this Result was created.
从scanner获取rowkey:
for(Result rr : scanner)
{
String key =Bytes.toString(rr.getRow())
}
getRow()
Method for retrieving the row key that corresponds to the row from which this Result was created.