hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How start scan from row and part of row?
Date Mon, 18 Sep 2017 15:37:55 GMT
If you pass std::string to Scan(), it is the start row.

bq. it often is concatenation key1+key2+key3

Not following. Can you elaborate some more ? If key1 and key2 are both row
keys, why do you need to concat ?

On Mon, Sep 18, 2017 at 8:32 AM, Andrzej <borucki_andrzej@wp.pl> wrote:

> In simple-clinet.cc example I have:
>
>     Scan scan{};
>     auto scanner = table->Scan(scan);
>     auto r = scanner->Next();
>     while (r != nullptr) {
>
> Scan is from begin of table. How scan from specified row?
> Scan scan{row__key_string} ?
> But there are further problems: because row_key must be unique it often is
> concatenation key1+key2+key3
> Is possible start scan from key1+any_keys2and3 ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message