문제

Is it possible to increment columns in HBase based on some comparison operator atomically ? Both increments and comparisons will be done on same row.

도움이 되었습니까?

해결책

A checkAndIncrement method is not implemented yet in HBase. There's a ticket for it - https://issues.apache.org/jira/browse/HBASE-6712.

What's your use? Isn't it something you can do with checkAndPut ?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top