I have code like the following:
Scanner s = conn.createScanner("userdata", auths);
s.setRange(new Range(input));
s.fetchColumnFamily(new Text("age"));
My question is, does anyone know that what should be the "input" part in the "new Range(input)"? is the input RowId?
The input to Range
would be what you are looking for. Have a look at the docs:
An example might be:
s.setRange(new Range(new Text("Foo")));