@@ -56,6 +56,8 @@ void CallFlushColumnsOnField(RFieldBase &);
5656void CallCommitClusterOnField (RFieldBase &);
5757void CallConnectPageSinkOnField (RFieldBase &, ROOT::Internal::RPageSink &, ROOT::NTupleSize_t firstEntry = 0 );
5858void CallConnectPageSourceOnField (RFieldBase &, ROOT::Internal::RPageSource &);
59+ void CallConnectExtendedColumnsToPageSinkOnField (RFieldBase &, ROOT::Internal::RPageSink &,
60+ ROOT::NTupleSize_t firstEntry);
5961ROOT::RResult<std::unique_ptr<ROOT::RFieldBase>>
6062CallFieldBaseCreate (const std::string &fieldName, const std::string &typeName, const ROOT::RCreateFieldOptions &options,
6163 const ROOT::RNTupleDescriptor *desc, ROOT::DescriptorId_t fieldId);
@@ -86,6 +88,8 @@ class RFieldBase {
8688 friend void Internal::CallCommitClusterOnField (RFieldBase &);
8789 friend void Internal::CallConnectPageSinkOnField (RFieldBase &, ROOT::Internal::RPageSink &, ROOT::NTupleSize_t);
8890 friend void Internal::CallConnectPageSourceOnField (RFieldBase &, ROOT::Internal::RPageSource &);
91+ friend void
92+ Internal::CallConnectExtendedColumnsToPageSinkOnField (RFieldBase &, ROOT::Internal::RPageSink &, ROOT::NTupleSize_t);
8993 friend ROOT::RResult<std::unique_ptr<ROOT::RFieldBase>>
9094 Internal::CallFieldBaseCreate (const std::string &fieldName, const std::string &typeName,
9195 const ROOT::RCreateFieldOptions &options, const ROOT::RNTupleDescriptor *desc,
@@ -261,6 +265,9 @@ private:
261265 // / calling this function. For subfields, a field ID may or may not be set. If the field ID is unset, it will be
262266 // / determined using the page source descriptor, based on the parent field ID and the subfield name.
263267 void ConnectPageSource (ROOT::Internal::RPageSource &pageSource);
268+ // / Similar to ConnectPageSink, but only used to connect new columns that were added via late model extension.
269+ // / The field must be already connected to the sink.
270+ void ConnectExtendedColumnsToPageSink (ROOT::Internal::RPageSink &pageSink, ROOT::NTupleSize_t firstEntry = 0 );
264271
265272 void SetArtificial ()
266273 {
0 commit comments