public void fillColumnMutation ( ColumnListMutation < ByteBuffer > clm , Object entity ) { try { ByteBuffer columnName = toColumnName ( entity ) ; ByteBuffer value = valueMapper . toByteBuffer ( entity ) ; clm . putColumn ( columnName , value ) ; } catch ( Exception e ) { throw new PersistenceException ( "failed to fill mutation batch" , e ) ; } }
Add a column based on the provided entity