Skip to content

Commit cce89a3

Browse files
committed
op-export
1 parent 7a5ad1f commit cce89a3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

crates/iceberg/src/io/file_io.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,16 @@ impl InputFile {
281281
pub async fn reader(&self) -> crate::Result<impl FileRead> {
282282
Ok(self.op.reader(&self.path[self.relative_path_pos..]).await?)
283283
}
284+
285+
/// Returns [`Operator`]
286+
pub fn get_operator(&self) -> &Operator {
287+
&self.op
288+
}
289+
290+
/// Returns self.relative_path_pos
291+
pub fn relative_path_pos(&self) -> usize {
292+
self.relative_path_pos
293+
}
284294
}
285295

286296
/// Trait for writing file.

0 commit comments

Comments
 (0)