Commit e52376c
committed
Add numDeltaFiles/totalDeltaFilesByteSize to SnapshotDescriptor
Adds numDeltaFiles and totalDeltaFilesByteSize to the SnapshotDescriptor
trait with default implementations that throw UnsupportedOperationException,
and overrides them in Snapshot to delegate to logSegment. This lets callers
read these file statistics through the SnapshotDescriptor abstraction instead
of reaching into the snapshot's log segment directly.1 parent 13ff198 commit e52376c
1 file changed
Lines changed: 8 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
0 commit comments