code: 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;
  
    }
docs: method to execute an hbase checkAndPut operation
  @return whether or not the check and put was successful after retries
  @throws IOException