Details
Description
This mutateRows, etc.. is a little confusing compared to the new cleaner java client.
Thinking of ways to make a thrift client that is just as elegant. something like:
void put(1:Bytes table, 2:TPut put) throws (1:IOError io)
with:
struct TColumn {
1:Bytes family,
2:Bytes qualifier,
3:i64 timestamp
}
struct TPut {
1:Bytes row,
2:map<TColumn, Bytes> values
}
This creates more verbose rpc than if the columns in TPut were just map<Bytes, map<Bytes, Bytes>>, but that is harder to fit timestamps into and still be intuitive from say python.
Presumably the goal of a thrift gateway is to be easy first.
Attachments
Attachments
Issue Links
- is blocked by
-
HBASE-3117 Update Thrift to 0.5 version
- Closed
- is related to
-
HBASE-1846 Move thrift to contrib
- Closed
-
HBASE-2116 Puts and deletes can no longer be applied to the same row with the new client API
- Closed
- relates to
-
HBASE-1402 move "non-native" connectors to contrib style packaging
- Closed