Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/src/arrow/record_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ class ARROW_EXPORT RecordBatch {
int i, std::string field_name, const std::shared_ptr<Array>& column) const;

/// \brief Replace a column in the record batch, producing a new RecordBatch
///
/// \param[in] i field index, does boundscheck
/// \param[in] field field to be replaced
/// \param[in] column column to be replaced
virtual Result<std::shared_ptr<RecordBatch>> SetColumn(
int i, const std::shared_ptr<Field>& field,
const std::shared_ptr<Array>& column) const = 0;
Expand Down