Virtual Method

OmniTransformUniformContextappend_batch

Declaration

void
append_batch (
  OmniTransformUniformContext* self,
  OmniArrowRecordBatch* batch
)

Description

Add an Arrow record batch to push to an output stream.

The record batch covers ΔmSTR (the output time range starting at this.start and ending at the time_end value provided to the next call to omni_transform_uniform_context_advance()).

Before calling omni_transform_uniform_context_advance():

  • If ΔmSTR ⊆ fSTR(Sₒ) for every output stream Sₒ, this method must be called for every output stream. The i-th call pushes to the i-th output stream.

  • If ΔmSTR ∩ fSTR(Sₒ) = ∅ for every output stream, this method must not be called.

  • Other cases are not allowed. This means that advancements must be split so that every ΔmSTR is completely inside or outside fSTR(Sₒ).

The schema must be compatible with that of the output stream in terms of buffer layout. A null value is treated as a batch with zero rows.

Parameters

batch

Type: OmniArrowRecordBatch

No description available.

The argument can be NULL.
The data is owned by the caller of the method.