未验证 提交 53e43134 编写于 作者: 邱鹿 Lucas 提交者: GitHub

Add toString function. (#7770)

Co-authored-by: qiulu3 <Lucas209910>
上级 a5cd1012
......@@ -34,4 +34,9 @@ public final class Column {
private final boolean updated;
private final boolean primaryKey;
@Override
public String toString() {
return String.format("%s=%s", name, value);
}
}
......@@ -17,6 +17,7 @@
package org.apache.shardingsphere.scaling.core.execute.executor.record;
import lombok.ToString;
import org.apache.shardingsphere.scaling.core.job.position.Position;
import lombok.EqualsAndHashCode;
......@@ -33,6 +34,7 @@ import java.util.List;
@Setter
@Getter
@EqualsAndHashCode(of = {"tableName", "primaryKeyValue"}, callSuper = false)
@ToString
public final class DataRecord extends Record {
private final List<Column> columns;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册