Skip to content

Commit

Permalink
adding setters so that subclasses can set it
Browse files Browse the repository at this point in the history
  • Loading branch information
ovj authored and vinothchandar committed Jul 18, 2018
1 parent 34ab54a commit f62890c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hoodie-client/src/main/java/com/uber/hoodie/WriteStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,18 @@ public long getTotalRecords() {
return totalRecords;
}

public void setTotalRecords(long totalRecords) {
this.totalRecords = totalRecords;
}

public long getTotalErrorRecords() {
return totalErrorRecords;
}

public void setTotalErrorRecords(long totalErrorRecords) {
this.totalErrorRecords = totalErrorRecords;
}

@Override
public String toString() {
final StringBuilder sb = new StringBuilder("WriteStatus {");
Expand Down

0 comments on commit f62890c

Please # to comment.