public void insertOrMerge ( final TableEntity entity ) { this . lockToPartitionKey ( entity . getPartitionKey ( ) ) ; this . add ( TableOperation . insertOrMerge ( entity ) ) ; }
Adds a table operation to insert or merge the specified entity to the batch operation .