when I use java apis to search data from hypertable , there are some 
problem:
I set ColumnPredicate and set columns like this:

// set column predicates
ColumnPredicate cp = new ColumnPredicate();
cp.setColumn_family("age");
cp.setOperation(ColumnPredicateOperation.PREFIX_MATCH);
cp.setValue("3");
scan_spec.addToColumn_predicates(cp);
 //set columns
scan_spec.addToColumns("name");
scan_spec.addToColumns("age");

but the result only contain one column 'age':

rowkey: 01
family: age
qualifier: 
value: 30

The table is like this:
create table user (name, age, index age);

data is like this:
01      name    zhou
01      name:nakename   san
01      age     30


but when using C++ apis, it can return column "age" and "name".
Is there any bugs about the java thrift apis?
How to make java return all columns I need?

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hypertable-dev/-/2G92QePVEPwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.

Reply via email to