@@ -924,34 +924,34 @@ impl TryFrom<i32> for ManifestStatus {
924924}
925925
926926/// Data file carries data file path, partition tuple, metrics, …
927- #[ derive( Debug , PartialEq , Clone , Eq , TypedBuilder ) ]
927+ #[ derive( Debug , PartialEq , Clone , Eq , Builder ) ]
928928pub struct DataFile {
929929 /// field id: 134
930930 ///
931931 /// Type of content stored by the data file: data, equality deletes,
932932 /// or position deletes (all v1 files are data files)
933- content : DataContentType ,
933+ pub ( crate ) content : DataContentType ,
934934 /// field id: 100
935935 ///
936936 /// Full URI for the file with FS scheme
937- file_path : String ,
937+ pub ( crate ) file_path : String ,
938938 /// field id: 101
939939 ///
940940 /// String file format name, avro, orc or parquet
941- file_format : DataFileFormat ,
941+ pub ( crate ) file_format : DataFileFormat ,
942942 /// field id: 102
943943 ///
944944 /// Partition data tuple, schema based on the partition spec output using
945945 /// partition field ids for the struct field ids
946- partition : Struct ,
946+ pub ( crate ) partition : Struct ,
947947 /// field id: 103
948948 ///
949949 /// Number of records in this file
950- record_count : u64 ,
950+ pub ( crate ) record_count : u64 ,
951951 /// field id: 104
952952 ///
953953 /// Total file size in bytes
954- file_size_in_bytes : u64 ,
954+ pub ( crate ) file_size_in_bytes : u64 ,
955955 /// field id: 108
956956 /// key field id: 117
957957 /// value field id: 118
@@ -960,29 +960,29 @@ pub struct DataFile {
960960 /// store the column. Does not include bytes necessary to read other
961961 /// columns, like footers. Leave null for row-oriented formats (Avro)
962962 #[ builder( default ) ]
963- column_sizes : HashMap < i32 , u64 > ,
963+ pub ( crate ) column_sizes : HashMap < i32 , u64 > ,
964964 /// field id: 109
965965 /// key field id: 119
966966 /// value field id: 120
967967 ///
968968 /// Map from column id to number of values in the column (including null
969969 /// and NaN values)
970970 #[ builder( default ) ]
971- value_counts : HashMap < i32 , u64 > ,
971+ pub ( crate ) value_counts : HashMap < i32 , u64 > ,
972972 /// field id: 110
973973 /// key field id: 121
974974 /// value field id: 122
975975 ///
976976 /// Map from column id to number of null values in the column
977977 #[ builder( default ) ]
978- null_value_counts : HashMap < i32 , u64 > ,
978+ pub ( crate ) null_value_counts : HashMap < i32 , u64 > ,
979979 /// field id: 137
980980 /// key field id: 138
981981 /// value field id: 139
982982 ///
983983 /// Map from column id to number of NaN values in the column
984984 #[ builder( default ) ]
985- nan_value_counts : HashMap < i32 , u64 > ,
985+ pub ( crate ) nan_value_counts : HashMap < i32 , u64 > ,
986986 /// field id: 125
987987 /// key field id: 126
988988 /// value field id: 127
@@ -995,7 +995,7 @@ pub struct DataFile {
995995 ///
996996 /// - [Binary single-value serialization](https://iceberg.apache.org/spec/#binary-single-value-serialization)
997997 #[ builder( default ) ]
998- lower_bounds : HashMap < i32 , Literal > ,
998+ pub ( crate ) lower_bounds : HashMap < i32 , Literal > ,
999999 /// field id: 128
10001000 /// key field id: 129
10011001 /// value field id: 130
@@ -1008,19 +1008,19 @@ pub struct DataFile {
10081008 ///
10091009 /// - [Binary single-value serialization](https://iceberg.apache.org/spec/#binary-single-value-serialization)
10101010 #[ builder( default ) ]
1011- upper_bounds : HashMap < i32 , Literal > ,
1011+ pub ( crate ) upper_bounds : HashMap < i32 , Literal > ,
10121012 /// field id: 131
10131013 ///
10141014 /// Implementation-specific key metadata for encryption
10151015 #[ builder( default ) ]
1016- key_metadata : Vec < u8 > ,
1016+ pub ( crate ) key_metadata : Vec < u8 > ,
10171017 /// field id: 132
10181018 /// element field id: 133
10191019 ///
10201020 /// Split offsets for the data file. For example, all row group offsets
10211021 /// in a Parquet file. Must be sorted ascending
10221022 #[ builder( default ) ]
1023- split_offsets : Vec < i64 > ,
1023+ pub ( crate ) split_offsets : Vec < i64 > ,
10241024 /// field id: 135
10251025 /// element field id: 136
10261026 ///
@@ -1029,7 +1029,7 @@ pub struct DataFile {
10291029 /// otherwise. Fields with ids listed in this column must be present
10301030 /// in the delete file
10311031 #[ builder( default ) ]
1032- equality_ids : Vec < i32 > ,
1032+ pub ( crate ) equality_ids : Vec < i32 > ,
10331033 /// field id: 140
10341034 ///
10351035 /// ID representing sort order for this file.
@@ -1041,7 +1041,7 @@ pub struct DataFile {
10411041 /// order id to null. Readers must ignore sort order id for position
10421042 /// delete files.
10431043 #[ builder( default , setter( strip_option) ) ]
1044- sort_order_id : Option < i32 > ,
1044+ pub ( crate ) sort_order_id : Option < i32 > ,
10451045}
10461046
10471047/// Type of content stored by the data file: data, equality deletes, or
0 commit comments