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