boolean executeCheckAndPut ( Table aggTable , byte [ ] rowKey , byte [ ] existingValueBytes , byte [ ] newValueBytes , byte [ ] famBytes , byte [ ] colBytes ) throws IOException { Put put = new Put ( rowKey ) ; put . addColumn ( famBytes , colBytes , newValueBytes ) ; boolean statusCheckAndPut = aggTable . checkAndPut ( rowKey , famBytes , colBytes , existingValueBytes , put ) ; return statusCheckAndPut ; }
method to execute an hbase checkAndPut operation