1
0

adding setters so that subclasses can set it

This commit is contained in:
Omkar Joshi
2018-07-18 11:11:32 -07:00
committed by vinoth chandar
parent 34ab54a9d3
commit f62890ca1f

View File

@@ -142,10 +142,18 @@ public class WriteStatus implements Serializable {
return totalRecords; return totalRecords;
} }
public void setTotalRecords(long totalRecords) {
this.totalRecords = totalRecords;
}
public long getTotalErrorRecords() { public long getTotalErrorRecords() {
return totalErrorRecords; return totalErrorRecords;
} }
public void setTotalErrorRecords(long totalErrorRecords) {
this.totalErrorRecords = totalErrorRecords;
}
@Override @Override
public String toString() { public String toString() {
final StringBuilder sb = new StringBuilder("WriteStatus {"); final StringBuilder sb = new StringBuilder("WriteStatus {");