Interface RowSink

All Superinterfaces:
Flow.Subscriber<Row>

public interface RowSink extends Flow.Subscriber<Row>
Terminal subscriber for assembled Rows. Implement it to add a sink such as Parquet, Arrow or a custom protocol.
  • Method Details

    • onSchema

      void onSchema(RowSchema schema)
      Called once before any rows.
    • onRow

      void onRow(Row row)
      Called for each assembled row; the default onNext(Row) delegates here.
    • onNext

      default void onNext(Row row)
      Specified by:
      onNext in interface Flow.Subscriber<Row>