|
18 | 18 |
|
19 | 19 | package org.apache.hadoop.hbase.regionserver; |
20 | 20 |
|
| 21 | +import org.apache.commons.lang3.builder.ToStringBuilder; |
21 | 22 | import org.apache.hadoop.conf.Configuration; |
22 | 23 | import org.apache.hadoop.hbase.CellComparator; |
23 | 24 | import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor; |
@@ -184,4 +185,21 @@ ScanInfo customize(int maxVersions, long ttl, KeepDeletedCells keepDeletedCells, |
184 | 185 | comparator, tableMaxRowSize, usePread, cellsPerTimeoutCheck, parallelSeekEnabled, |
185 | 186 | preadMaxBytes, newVersionBehavior); |
186 | 187 | } |
| 188 | + |
| 189 | + @Override |
| 190 | + public String toString() { |
| 191 | + return new ToStringBuilder(this) |
| 192 | + .append("family", Bytes.toStringBinary(family)) |
| 193 | + .append("minVersions", minVersions) |
| 194 | + .append("maxVersions", maxVersions) |
| 195 | + .append("ttl", ttl) |
| 196 | + .append("keepDeletedCells", keepDeletedCells) |
| 197 | + .append("timeToPurgeDeletes", timeToPurgeDeletes) |
| 198 | + .append("tableMaxRowSize", tableMaxRowSize) |
| 199 | + .append("usePread", usePread) |
| 200 | + .append("cellsPerTimeoutCheck", cellsPerTimeoutCheck) |
| 201 | + .append("parallelSeekEnabled", parallelSeekEnabled) |
| 202 | + .append("preadMaxBytes", preadMaxBytes) |
| 203 | + .append("newVersionBehavior", newVersionBehavior).toString(); |
| 204 | + } |
187 | 205 | } |
0 commit comments