@Test public void testAsColumnValues() throws Exception { Table table = new Table( 1, "table_name", "db_name", null, ImmutableList.of(new ColumnMetadata("id", ColumnDataType.LONGLONG, false, 0)), ImmutableList.of()); Row row = new Row(table, ImmutableMap.of("id", new Column(table.getColumns().get("id"), 2))); assertEquals(ImmutableMap.of("id", 2), MysqlUpdateMutation.asColumnValues(row)); }
@VisibleForTesting static Map<String, Serializable> asColumnValues(@NonNull final Row row) { return Maps.transformValues(row.getColumns(), Column::getValue); }
MysqlUpdateMutation extends MysqlMutation { @VisibleForTesting static Map<String, Serializable> asColumnValues(@NonNull final Row row) { return Maps.transformValues(row.getColumns(), Column::getValue); } }
MysqlUpdateMutation extends MysqlMutation { @VisibleForTesting static Map<String, Serializable> asColumnValues(@NonNull final Row row) { return Maps.transformValues(row.getColumns(), Column::getValue); } MysqlUpdateMutation(
      final MysqlMutationMetadata metadata, final Row previousRow, final Row row); }
MysqlUpdateMutation extends MysqlMutation { @VisibleForTesting static Map<String, Serializable> asColumnValues(@NonNull final Row row) { return Maps.transformValues(row.getColumns(), Column::getValue); } MysqlUpdateMutation(
      final MysqlMutationMetadata metadata, final Row previousRow, final Row row); @Override Set<String> getChangedColumns(); }
MysqlUpdateMutation extends MysqlMutation { @VisibleForTesting static Map<String, Serializable> asColumnValues(@NonNull final Row row) { return Maps.transformValues(row.getColumns(), Column::getValue); } MysqlUpdateMutation(
      final MysqlMutationMetadata metadata, final Row previousRow, final Row row); @Override Set<String> getChangedColumns();  }