Hadoop: HBase模糊查询

 Table table = connection.getTable(TableName.valueOf("originalSignal"));
			    Scan scan = new Scan();
			    RowFilter rowFilter = new RowFilter(CompareOp.EQUAL, new SubstringComparator(vin));
			    scan.setFilter(rowFilter);			   
			    ResultScanner rs =null;
			    rs = table.getScanner(scan);

你可能感兴趣的:(Hadoop)