Interface Collector<T>

    • Method Detail

      • collect

        void collect​(T record)
        Emits a record.
        Parameters:
        record - The record to collect.
      • close

        void close()
        Closes the collector. If any data was buffered, that data will be flushed.