It is desirable to add record filtering capability to HBase Export.
The following code is an example (s is the Scan):
byte [] prefix = Bytes.toBytes(args[5]);
if (args[5].startsWith("^"))
else s.setFilter(new PrefixFilter(prefix));
- relates to
-
HBASE-3255 Allow Export tool to choose subset of rows
-
- Resolved
-