Skip to content

Commit

Permalink
HBASE-27296 Some Cell's implementation of toString() such as Individu…
Browse files Browse the repository at this point in the history
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695)

Signed-off-by: Nick Dimiduk <[email protected]>
  • Loading branch information
huaxiangsun authored and Huaxiang Sun committed Aug 12, 2022
1 parent da472aa commit 3305fe2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void write(ByteBuffer buf, int offset) {

@Override
public String toString() {
return CellUtil.toString(this, true);
return CellUtil.toString(this, false);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,6 @@ public void setTimestamp(byte[] ts) {

@Override
public String toString() {
return CellUtil.toString(this, true);
return CellUtil.toString(this, false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ public Cell getCell() {

@Override
public String getKeyString() {
return CellUtil.toString(getKey(), true);
return CellUtil.toString(getKey(), false);
}

@Override
Expand Down

0 comments on commit 3305fe2

Please sign in to comment.