PrefixFilter - takes a single argument, a prefix of a row key. It returns only those key-values present in a row that start with the specified row prefix

Previously I thought, that if we have rows:
Addr1Hash1
Addr1Hash2
Addr1Hash3
Addr2Hash1
Addr2Hash2
Addr2Hash3

If we call
shared_ptr<Scan> scan = make_shared<Scan>("Addr2");
shared_ptr<ResultScanner> scanner = table->Scan(*scan);

that Scanner go to "Addr2Hash1"
and if we apply make_shared<Scan>(""), Scanner got to first row of table.
But is needed PrefixFilter? How it apply with Scanner?

Reply via email to