How to get all rows containing (or equaling) a particular ID from an HBase table?
问题 I have a method which select the row whose rowkey contains the parameter passed into. HTable table = new HTable(Bytes.toBytes(objectsTableName), connection); public List<ObjectId> lookUp(String partialId) { if (partialId.matches("[a-fA-F0-9]+")) { // create a regular expression from partialId, which can //match any rowkey that contains partialId as a substring, //and then get all the row with the specified rowkey } else { throw new IllegalArgumentException( "query must be done with