File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ use crate::runtime::spawn;
29
29
use crate :: scan:: { DeleteFileContext , FileScanTaskDeleteFile } ;
30
30
use crate :: spec:: { DataContentType , DataFile , Struct } ;
31
31
32
+ /// Index of delete files
33
+ #[ derive( Clone , Debug ) ]
34
+ pub ( crate ) struct DeleteFileIndex {
35
+ state : Arc < RwLock < DeleteFileIndexState > > ,
36
+ }
37
+
32
38
#[ derive( Debug ) ]
33
39
enum DeleteFileIndexState {
34
40
Populating ,
@@ -44,12 +50,6 @@ struct PopulatedDeleteFileIndex {
44
50
pos_deletes_by_path : HashMap < String , Vec < Arc < DeleteFileContext > > > ,
45
51
}
46
52
47
- /// Index of delete files
48
- #[ derive( Clone , Debug ) ]
49
- pub ( crate ) struct DeleteFileIndex {
50
- state : Arc < RwLock < DeleteFileIndexState > > ,
51
- }
52
-
53
53
impl DeleteFileIndex {
54
54
/// create a new `DeleteFileIndex` along with the sender that populates it with delete files
55
55
pub ( crate ) fn new ( ) -> ( DeleteFileIndex , Sender < DeleteFileContext > ) {
You can’t perform that action at this time.
0 commit comments