Skip to content

Commit

Permalink
add callback option to read interface
Browse files Browse the repository at this point in the history
Signed-off-by: siyuan0322 <[email protected]>
  • Loading branch information
siyuan0322 committed Sep 25, 2024
1 parent 19badf1 commit ca4343f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/io/io/i_io_adaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ class IIOAdaptor {
return Status::OK();
}

virtual Status ReadTable(std::function<void(std::shared_ptr<arrow::RecordBatch>)> callback) {
return Status::OK();
}

virtual Status WriteTable(std::shared_ptr<arrow::Table> table) {
return Status::OK();
}
Expand Down

0 comments on commit ca4343f

Please sign in to comment.