File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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;
2929use crate :: scan:: { DeleteFileContext , FileScanTaskDeleteFile } ;
3030use crate :: spec:: { DataContentType , DataFile , Struct } ;
3131
32+ /// Index of delete files
33+ #[ derive( Clone , Debug ) ]
34+ pub ( crate ) struct DeleteFileIndex {
35+ state : Arc < RwLock < DeleteFileIndexState > > ,
36+ }
37+
3238#[ derive( Debug ) ]
3339enum DeleteFileIndexState {
3440 Populating ,
@@ -44,12 +50,6 @@ struct PopulatedDeleteFileIndex {
4450 pos_deletes_by_path : HashMap < String , Vec < Arc < DeleteFileContext > > > ,
4551}
4652
47- /// Index of delete files
48- #[ derive( Clone , Debug ) ]
49- pub ( crate ) struct DeleteFileIndex {
50- state : Arc < RwLock < DeleteFileIndexState > > ,
51- }
52-
5353impl DeleteFileIndex {
5454 /// create a new `DeleteFileIndex` along with the sender that populates it with delete files
5555 pub ( crate ) fn new ( ) -> ( DeleteFileIndex , Sender < DeleteFileContext > ) {
You can’t perform that action at this time.
0 commit comments