dlmarion commented on code in PR #5229:
URL: https://github.com/apache/accumulo/pull/5229#discussion_r1905869038


##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/CompactionMetadata.java:
##########
@@ -93,10 +95,31 @@ public FateId getFateId() {
     return fateId;
   }
 
+  private static class InputFile {
+    String path;
+    String startRow;
+    String endRow;
+
+    private static InputFile from(StoredTabletFile stf) {
+      InputFile i = new InputFile();
+      i.path = stf.getPath().toString();
+      Range r = stf.getRange();
+      i.startRow = r.getStartKey() == null ? "null" : 
r.getStartKey().toString();

Review Comment:
   `path` and `range` are defined in `AbstractTabletFile`.  Can we just move 
the serialization and deserialization methods, and `TabletFileCqMetadataGson` 
there and make them public?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to