That is the correct way.  Adding EQUAL predicates on all columns of the
primary key will result in an optimal single-row scan.

- Dan

On Mon, Jul 24, 2017 at 12:50 AM, 曾巍 <[email protected]> wrote:

> hello:
> my code as below
> p = KuduTable->NewComparisonPredicate("c1", kudu.EQUAL, i)
> scanner.AddConjunctPredicate(p)
> how can I get data by Primary Key faster with c++ api of kudu
> Is there a better way?
>

Reply via email to